diff options
author | Fantix King | 2015-02-28 18:05:24 +0800 |
---|---|---|
committer | Fantix King | 2016-01-20 21:06:13 +0800 |
commit | 2ee60f194c56b75ac22ddc8bc5aa1e73da453713 (patch) | |
tree | 19721ae871a1a2b7d9acad032706b882dc48cb3a /redis.service | |
parent | 9e130455970b7ef0aeec15433d78cad7b8010408 (diff) | |
download | aur-2ee60f194c56b75ac22ddc8bc5aa1e73da453713.tar.gz |
2.8.19-1.1
Diffstat (limited to 'redis.service')
-rw-r--r-- | redis.service | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/redis.service b/redis.service index 28656f1677fa..f90bff8b0f22 100644 --- a/redis.service +++ b/redis.service @@ -3,13 +3,18 @@ Description=Advanced key-value store (x32 ABI) After=network.target [Service] -Type=forking User=redis -PIDFile=/run/redis-x32/redis-x32.pid -ExecStartPre=/bin/mkdir -p /var/lib/redis-x32 +Group=redis ExecStart=/usr/bin/redis-server-x32 /etc/redis-x32.conf ExecStop=/usr/bin/redis-cli-x32 shutdown -Restart=always +CapabilityBoundingSet= +PrivateTmp=true +PrivateDevices=true +ProtectSystem=full +ProtectHome=true +NoNewPrivileges=true +RuntimeDirectory=redis +RuntimeDirectoryMode=700 [Install] WantedBy=multi-user.target |