diff options
author | Leo P | 2016-04-05 01:13:58 -0400 |
---|---|---|
committer | Leo P | 2016-04-05 01:13:58 -0400 |
commit | f1a6118a225268149a82fde1c64abdf23899f580 (patch) | |
tree | 18d245fc24aadef0b746c11a0820b2d7b00dcc89 /redis.service | |
download | aur-redis-testing.tar.gz |
first
Diffstat (limited to 'redis.service')
-rw-r--r-- | redis.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/redis.service b/redis.service new file mode 100644 index 000000000000..0a8162b8ab8e --- /dev/null +++ b/redis.service @@ -0,0 +1,22 @@ +[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 |