lib/marionette/setup.rb in marionette-0.0.10 vs lib/marionette/setup.rb in marionette-0.0.11

- old
+ new

@@ -40,24 +40,20 @@ DESC="marionette daemon" NAME=marionette DAEMON=/usr/local/bin/$NAME PIDFILE=/var/run/$NAME.pid LOGFILE=/var/log/$NAME.log -TCPFILE=/etc/marionette.tcp SCRIPTNAME=/etc/init.d/$NAME -# TCP=`cat $TCPFILE` # Gracefully exit if the package has been removed. # test -x $DAEMON || exit 0 -# echo "connecting on $TCP..." d_start() { - # $DAEMON start $TCP || echo -en "\n already running" - $DAEMON start || echo -en "\n already running" + $DAEMON start || echo -en " already running" } d_stop() { - kill -9 `cat $PIDFILE` || echo -en "\n not running" + kill -9 `cat $PIDFILE` || echo -en " not running" } case "$1" in start) echo -n "Starting $DESC: $NAME"