sonic-buildimage/files/image_config/sysmonitor/sysmonitor.service

18 lines
328 B
SYSTEMD
Raw Normal View History

2021-11-10 16:52:52 -06:00
[Unit]
Description=Watchdog service for system services and app readiness
Requires=database.service
After=database.service
StartLimitIntervalSec=60
StartLimitBurst=3
[Service]
Type=forking
Restart=always
ExecStart=/usr/local/bin/sysmonitor.py --daemon
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target