mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Add a base pandora_ha.service.
This commit is contained in:
parent
4e45885de3
commit
e073e634b9
11
pandora_server/util/pandora_ha.service
Normal file
11
pandora_server/util/pandora_ha.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user