2020-10-15 04:31:45 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Redis persistent key-value database
|
|
|
|
After=network.target
|
|
|
|
After=network-online.target
|
|
|
|
Wants=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
2020-11-23 13:14:27 +00:00
|
|
|
ExecStart=/usr/bin/redis-server /etc/redis/redis.conf --daemonize no --supervised systemd
|
2020-10-15 04:31:45 +00:00
|
|
|
ExecStop=/usr/libexec/redis-shutdown
|
|
|
|
Type=notify
|
|
|
|
User=redis
|
|
|
|
Group=redis
|
|
|
|
RuntimeDirectory=redis
|
|
|
|
RuntimeDirectoryMode=0755
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
|
|
|
|