pandorafms/pandora_server/util/pandora_ha.service

12 lines
250 B
SYSTEMD

[Unit]
Description=Pandora FMS Database HA Tool
[Service]
Type=forking
PIDFile=/var/run/pandora_ha.pid
Restart=always
ExecStart=/usr/bin/pandora_ha -d -p /var/run/pandora_ha.pid /etc/pandora/pandora_server.conf
[Install]
WantedBy=multi-user.target