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