1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit] Description=Redis Sentinel After=network.target [Service] ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --daemonize no ExecStop=/usr/libexec/redis-shutdown redis-sentinel User=redis Group=redis [Install] WantedBy=multi-user.target