blob: fbaf7b653349c06eb0281eb3874b999c9dce66c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
[Unit]
Description=A multi-server monitoring system
After=network.target
[Service]
Type=forking
User=root
# The following PIDfile is the default location,
# please modify it if necessary
PIDFile=/opt/performa/logs/performa.pid
ExecStart=/opt/performa/bin/control.sh start
ExecStop=/opt/performa/bin/control.sh stop
# Waiting for PIDfile genegrted
ExecStartPost=/bin/sleep 1
[Install]
WantedBy=multi-user.target
|