ubuntu-buildroot/package/redis/redis.service

25 lines
482 B
SYSTEMD
Raw Permalink Normal View History

2024-04-01 15:19:46 +00:00
[Unit]
Description=Redis data structure server
Documentation=https://redis.io/documentation
After=network.target
[Service]
Type=notify
User=redis
Group=redis
ExecStart=/usr/bin/redis-server --supervised systemd --daemonize no
TimeoutStartSec=5
TimeoutStopSec=5
CapabilityBoundingSet=
PrivateTmp=true
PrivateDevices=true
ProtectSystem=full
ProtectHome=true
NoNewPrivileges=true
RuntimeDirectory=redis
RuntimeDirectoryMode=755
LimitNOFILE=10032
[Install]
WantedBy=multi-user.target