diff options
author | Leo P | 2016-05-10 15:53:32 -0400 |
---|---|---|
committer | Leo P | 2016-05-10 15:53:32 -0400 |
commit | ba4b3b94f0c5259b7c3e51a32638b385f8337b16 (patch) | |
tree | 9fa24990707841a79fc9fff312b7259aae31f93b /redis.service | |
download | aur-ba4b3b94f0c5259b7c3e51a32638b385f8337b16.tar.gz |
redis-git
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 |