redis/redis-sentinel.service

19 lines
386 B
SYSTEMD
Raw Normal View History

2014-06-19 06:42:22 +00:00
[Unit]
Description=Redis Sentinel
After=network.target
2018-10-17 21:41:26 +00:00
After=network-online.target
Wants=network-online.target
2014-06-19 06:42:22 +00:00
[Service]
ExecStart=/usr/bin/redis-sentinel /etc/redis/sentinel.conf --daemonize no --supervised systemd
ExecStop=/usr/libexec/redis-shutdown sentinel
Type=notify
2014-06-19 06:42:22 +00:00
User=redis
Group=redis
RuntimeDirectory=redis
RuntimeDirectoryMode=0755
2014-06-19 06:42:22 +00:00
[Install]
WantedBy=multi-user.target