path: apcupsd_3.14.14-7/platforms/debian/packageinfo/postinst # if we have a running copy, restart, else start if [ "`pidof apcupsd`" = "" ] then /etc/init.d/apcupsd start path: apcupsd_3.14.14-7/debian/apcupsd.init /usr/lib/apcupsd/prestart if [ "`pidof apcupsd`" = "" ] then start-stop-daemon --start --quiet --exec $DAEMON path: apcupsd_3.14.14-7/platforms/debian/apcupsd.in rm -f @nologdir@/nologin fi if [ "`pidof apcupsd`" = "" ] then start-stop-daemon --start --quiet --pidfile $DAEMONPID --exec $DAEMON