sonic-buildimage/files/image_config/sysmonitor/sysmonitor.service
Senthil Kumar Guruswamy d7e5372e54
sysready (#8889)
2021-11-10 14:52:52 -08:00

18 lines
328 B
Desktop File

[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