2 [ -f /etc
/conf.d
/verlihub
] && .
/etc
/conf.d
/verlihub
5 PID
=`pidof -o %PPID /usr/bin/verlihub`
8 stat_busy
"Starting verlihub"
10 /usr
/bin
/verlihub
--start --quiet --background &>/dev
/null
&
15 sleep 1 # wait on children
16 echo `pidof -o %PPID /usr/bin/verlihub` >/var
/run
/verlihub.pid
27 stat_busy
"Stopping verlihub"
28 if [ ! -z "$PID" ]; then
29 kill $PID &> /dev
/null
34 rm -f /var
/run
/verlihub.pid
&>/dev
/null
50 echo "usage: $0 {start|stop|restart}"