PiFrameFleet/root/etc/services.d/monit/run

10 lines
143 B
Plaintext
Executable file

#!/usr/bin/with-contenv bash
if [ ! -f "/opt/monit/monitrc" ] ; then
exit
fi
cd /opt/monit
/usr/bin/monit -I \
-c /opt/monit/monitrc