Initial commit.
This commit is contained in:
14
services/init.d/cronpl
Executable file
14
services/init.d/cronpl
Executable file
@@ -0,0 +1,14 @@
|
||||
#!/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
|
||||
}
|
||||
Reference in New Issue
Block a user