c374de3637
Add "--supervised systemd" to the command line, and drop the "--daemonize" option as Redis already does this internally in supervised mode. Add Provides:bundled spec file lines for linenoise, lua-libs and hiredis.
17 lines
321 B
Desktop File
17 lines
321 B
Desktop File
[Unit]
|
|
Description=Redis Sentinel
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/redis-sentinel /etc/redis-sentinel.conf --supervised systemd
|
|
ExecStop=/usr/libexec/redis-shutdown redis-sentinel
|
|
Type=notify
|
|
User=redis
|
|
Group=redis
|
|
RuntimeDirectory=redis
|
|
RuntimeDirectoryMode=0755
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|