metal/mtce-common/cgts-mtce-common-1.0/scripts/mtclog.service
Dean Troyer 18922761a6 StarlingX open source release updates
Signed-off-by: Dean Troyer <dtroyer@gmail.com>
2018-05-31 07:36:43 -07:00

24 lines
459 B
Desktop File

[Unit]
Description=Titanium Cloud Maintenance Logger
After=network.target syslog.service config.service
Before=pmon.service
[Service]
Type=forking
ExecStart=/etc/rc.d/init.d/mtclog start
ExecStop=/etc/rc.d/init.d/mtclog stop
ExecReload=/etc/rc.d/init.d/mtclog reload
PIDFile=/var/run/mtclogd.pid
# Failure handling
TimeoutStartSec=10s
TimeoutStopSec=10s
# process recovery is handled by pmond
Restart=no
RestartSec=5
[Install]
WantedBy=multi-user.target