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

- old
+ new

@@ -42,17 +42,18 @@ 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` +# TCP=`cat $TCPFILE` # Gracefully exit if the package has been removed. # test -x $DAEMON || exit 0 -echo "connecting on $TCP..." +# echo "connecting on $TCP..." d_start() { - $DAEMON start $TCP || echo -en "\n already running" + # $DAEMON start $TCP || echo -en "\n already running" + $DAEMON start || echo -en "\n already running" } d_stop() { kill -9 `cat $PIDFILE` || echo -en "\n not running" }