19 lines
467 B
SYSTEMD
19 lines
467 B
SYSTEMD
[Unit]
|
|
Description=IcingaDB Redis Sentinel
|
|
After=network.target
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/bin/icingadb-redis-sentinel /etc/icingadb-redis/icingadb-sentinel.conf --daemonize no --supervised systemd
|
|
ExecStop=/usr/libexec/icingadb-redis-shutdown icingadb-sentinel
|
|
Type=notify
|
|
User=icingadb-redis
|
|
Group=icingadb-redis
|
|
RuntimeDirectory=icingadb-redis
|
|
RuntimeDirectoryMode=0755
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|