redis/redis-sentinel.service

19 lines
377 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 --supervised systemd
2016-09-14 08:48:19 +00:00
ExecStop=/usr/libexec/redis-shutdown redis-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