3 # sfa Wraps PLCAPI into the SFA compliant API
7 # description: Wraps PLCAPI into the SFA compliant API
9 # $Id: sfa 14304 2009-07-06 20:19:51Z thierry $
10 # $URL: https://svn.planet-lab.org/svn/sfa/trunk/sfa/init.d/sfa $
16 # source function library
17 . /etc/init.d/functions
21 echo -n $"Starting SFA: "
23 if [ "$SFA_CM_ENABLED" ]; then
25 /usr/bin/sfa-server.py -c -d $OPTIONS
30 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/sfa
35 echo -n $"Shutting down SFA: "
36 killproc sfa-server.py
40 [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/sfa
57 if [ -f /var/lock/subsys/sfa ]; then
67 echo $"Usage: $0 {start|stop|restart|condrestart|status}"