#!/opt/bin/watchman # named init script for watchman ROOTDIR='/share/MD0_DATA/.qpkg/Optware' service_command="${ROOTDIR}/etc/cron.pl" service_respawn=true service_logfile='/share/Public/logs/cron.pl.log' unset reload status start() { while [ ! -x /opt/bin/perl ]; do sleep 1; done watchman.start }