Code: Select all
WARNING - This file was automatically generated on Thu Aug 16 13:49:42 +0100 2012
check process crashplan with pidfile /var/run/crashplan.pid
start program = "/etc/init.d/crashplan start"
stop program = "/etc/init.d/crashplan stop"
Code: Select all
#!/bin/sh
# Linux Standard Base comments
### BEGIN INIT INFO
# Provides: CrashPlanEngine
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Should-Start:
# Should-Stop:
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: CrashPlan Engine
# Description: CrashPlan backup service engine
### END INIT INFO
#############################################################
# Init script for CrashPlanEngine
#############################################################
# Defaults
SCRIPTNAME=/usr/local/crashplan/bin/CrashPlanEngine
case "$1" in
start)
$SCRIPTNAME start
;;
stop)
$SCRIPTNAME stop
;;
restart)
$SCRIPTNAME restart
;;
force-reload)
$SCRIPTNAME force-reload
;;
status)
$SCRIPTNAME status
;;
*)
echo "Usage: $0 <start|stop|restart|force-reload|status>" >&2
exit 3
;;
esac
exit 0
Code: Select all
/etc/init.d/crashplan status
CrashPlan Engine (pid 3694) is running.
Code: Select all
echo "3694" > /var/run/crashplan.pid
Jim!