Changeset 1407 for trunk/packages/invirt-vnc-server/debian
- Timestamp:
- Oct 28, 2008, 10:59:26 PM (16 years ago)
- Location:
- trunk/packages/invirt-vnc-server/debian
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-vnc-server/debian/changelog
r1403 r1407 1 invirt-vnc-server (0.0.3) unstable; urgency=low 2 3 * Fix a typo in the new init script 4 5 -- Evan Broder <broder@mit.edu> Tue, 28 Oct 2008 22:58:59 -0400 6 1 7 invirt-vnc-server (0.0.2) unstable; urgency=low 2 8 -
trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.init
r1399 r1407 19 19 DAEMON=/usr/sbin/invirt-vnc-server 20 20 DAEMON_ARGS="" 21 PIDFILE=/var/run/$ NAME.pid22 SCRIPTNAME=/etc/init.d/$ NAME21 PIDFILE=/var/run/$PACKAGE.pid 22 SCRIPTNAME=/etc/init.d/$PACKAGE 23 23 24 24 # Exit if the package is not installed … … 36 36 # 1 if daemon was already running 37 37 # 2 if daemon could not be started 38 daemon --running -n $ NAME && return 139 daemon -r -U -O daemon.info -E daemon.err -n $ NAME -U $DAEMON $DAEMON_ARGS || return 238 daemon --running -n $PACKAGE && return 1 39 daemon -r -U -O daemon.info -E daemon.err -n $PACKAGE -U $DAEMON $DAEMON_ARGS || return 2 40 40 } 41 41 … … 50 50 # 2 if daemon could not be stopped 51 51 # other if a failure occurred 52 daemon --stop -n $ NAME52 daemon --stop -n $PACKAGE 53 53 RETVAL="$?" 54 54 [ "$RETVAL" = 2 ] && return 2
Note: See TracChangeset
for help on using the changeset viewer.