Add a base pandora_ha.service.

This commit is contained in:
Ramon Novoa 2021-06-28 17:15:50 +02:00
parent 4e45885de3
commit e073e634b9
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
[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