# $Header: https://oberon.oapd.inaf.it/shins/trunk/shins/etc/monit.d/calunit_ctrl.monit 2409 2020-02-18 09:40:32Z depa $

check process calunit_ctrl-svr with pidfile /opt/tan/var/run/calunit_ctrl-svr.pid nogfile /opt/tan/var/log/calunit_ctrl-svr.log
start program = "/opt/tan/bin/rcbasdard.sh start calunit_ctrl-svr  --CONFIG=calunit_ctrl/calunit_ctrl-svr.cfg"
as uid shinsmgr and gid shinsmgr
stop program  = "/opt/tan/bin/rcbasdard.sh stop calunit_ctrl-svr"
group shins
