Index: debian_installer/lams2-2.1rc1/debian/lams2.init =================================================================== diff -u -r209fecfc461929b9929daf15f33234efff6c8567 -rf8d7d3b38048bcbe433f1907b36541d04f8f683c --- debian_installer/lams2-2.1rc1/debian/lams2.init (.../lams2.init) (revision 209fecfc461929b9929daf15f33234efff6c8567) +++ debian_installer/lams2-2.1rc1/debian/lams2.init (.../lams2.init) (revision f8d7d3b38048bcbe433f1907b36541d04f8f683c) @@ -62,7 +62,6 @@ #set -e - start() { start-stop-daemon --start --quiet --background --make-pidfile \ --pidfile /var/run/$NAME.pid --chuid lams:lams \ @@ -72,17 +71,18 @@ stop() { start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid - } case "$1" in start) - echo "Starting $DESC: " + echo "$DESC is starting up." start ;; stop) - echo "Stopping $DESC: " + echo -n "Stopping $DESC... " stop + rm -f /var/run/$NAME.pid + echo "stopped." ;; status) if [ -e /var/run/$NAME.pid ]; then @@ -97,6 +97,7 @@ fi fi fi + echo "$DESC is not running." ;; restart|force-reload) #