7 [ -f /var
/run
/j2j.pid
] && echo `cat /var/run/j2j.pid`
12 stat_busy
"Starting j2j transport daemon"
14 [ -f /var
/run
/j2j.pid
] && rm -f /var
/run
/j2j.pid
16 if [ -z "$PID" ]; then
17 cd /usr
/share
/j2j
&& python .
/main.py
1>/dev
/null
2>/dev
/null
&
32 stat_busy
"Stopping j2j transport daemon"
34 [ ! -z "$PID" ] && kill $PID &> /dev
/null
39 rm -f /var
/run
/j2j.pid
&> /dev
/null
51 echo "usage: $0 {start|stop|restart}"