+invirt-vnc-server (0.0.3) unstable; urgency=low
+
+ * Fix a typo in the new init script
+
+ -- Evan Broder <broder@mit.edu> Tue, 28 Oct 2008 22:58:59 -0400
+
invirt-vnc-server (0.0.2) unstable; urgency=low
* Cleanup the init script to use /lib/init/std-init.sh
DESC="The Invirt VNC Proxy Server"
DAEMON=/usr/sbin/invirt-vnc-server
DAEMON_ARGS=""
-PIDFILE=/var/run/$NAME.pid
-SCRIPTNAME=/etc/init.d/$NAME
+PIDFILE=/var/run/$PACKAGE.pid
+SCRIPTNAME=/etc/init.d/$PACKAGE
# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0
# 0 if daemon has been started
# 1 if daemon was already running
# 2 if daemon could not be started
- daemon --running -n $NAME && return 1
- daemon -r -U -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
+ daemon --running -n $PACKAGE && return 1
+ daemon -r -U -O daemon.info -E daemon.err -n $PACKAGE -U $DAEMON $DAEMON_ARGS || return 2
}
#
# 1 if daemon was already stopped
# 2 if daemon could not be stopped
# other if a failure occurred
- daemon --stop -n $NAME
+ daemon --stop -n $PACKAGE
RETVAL="$?"
[ "$RETVAL" = 2 ] && return 2
# Many daemons don't delete their pidfiles when they exit.