5 # Required-Start: $network $syslog
6 # Required-Stop: $network $syslog
7 # Should-Start: $local_fs
8 # Should-Stop: $local_fs
9 # Default-Start: 2 3 4 5
11 # Short-Description: Ajenti
12 # Description: Ajenti administration frontend
15 PATH
=/sbin
:/bin
:/usr
/sbin
:/usr
/bin
22 PID
=/var
/run
/ajenti.pid
26 #log_daemon_msg "Starting $DESC"
27 stat_busy
"Starting $DESC daemon"
28 /usr
/bin
/ajenti
--start
33 #log_daemon_msg "Stopping $DESC"
34 stat_busy
"Stopping $DESC daemon"
35 /usr
/bin
/ajenti
--stop
43 if [ "$?" != "0" ]; then
48 echo "Usage: $0 {start|stop|restart}"