26 lines
661 B
Desktop File
26 lines
661 B
Desktop File
[Unit]
|
|
Description=Titanium Cloud Maintenance Process Monitor
|
|
After=config.service
|
|
# The following thirdparty service files are not modified by Titanium Cloud,
|
|
# so add "After" clauses here rather than "Before=pmon.service" to those
|
|
After=sshd.service acpid.service syslog-ng.service
|
|
After=ntpd.service ptp4l.service phc2sys.service
|
|
Before=hostw.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
ExecStart=/etc/rc.d/init.d/pmon start
|
|
ExecStop=/etc/rc.d/init.d/pmon stop
|
|
ExecReload=/etc/rc.d/init.d/pmon reload
|
|
PIDFile=/var/run/pmond.pid
|
|
KillMode=process
|
|
|
|
# Failure handling
|
|
TimeoutStartSec=10s
|
|
TimeoutStopSec=10s
|
|
Restart=always
|
|
RestartSec=2
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|