2014-09-11 17:08:56 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Redis persistent key-value database
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2017-09-07 16:09:03 +10:00
|
|
|
ExecStart=/usr/bin/redis-server /etc/redis.conf --supervised systemd
|
2016-09-14 10:48:19 +02:00
|
|
|
ExecStop=/usr/libexec/redis-shutdown
|
2017-08-28 16:06:15 +10:00
|
|
|
Type=notify
|
2014-09-11 17:08:56 +02:00
|
|
|
User=redis
|
|
|
|
Group=redis
|
2017-06-23 15:02:11 +02:00
|
|
|
RuntimeDirectory=redis
|
2017-08-14 12:11:34 +10:00
|
|
|
RuntimeDirectoryMode=0755
|
2014-09-11 17:08:56 +02:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2015-10-16 17:50:15 +02:00
|
|
|
|