mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
23 lines
416 B
SYSTEMD
23 lines
416 B
SYSTEMD
|
[Unit]
|
||
|
Description=Advanced key-value store
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
Type=simple
|
||
|
User=redis
|
||
|
Group=redis
|
||
|
ExecStart=/usr/bin/redis-server /etc/redis.conf
|
||
|
ExecStop=/usr/bin/redis-cli shutdown
|
||
|
CapabilityBoundingSet=
|
||
|
PrivateTmp=true
|
||
|
PrivateDevices=true
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=true
|
||
|
NoNewPrivileges=true
|
||
|
RuntimeDirectory=redis
|
||
|
RuntimeDirectoryMode=755
|
||
|
LimitNOFILE=10032
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|