Changeset 1407


Ignore:
Timestamp:
Oct 28, 2008, 10:59:26 PM (16 years ago)
Author:
broder
Message:

Fix a typo in invirt-vnc-server's init script

Location:
trunk/packages/invirt-vnc-server/debian
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-vnc-server/debian/changelog

    r1403 r1407  
     1invirt-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
    17invirt-vnc-server (0.0.2) unstable; urgency=low
    28
  • trunk/packages/invirt-vnc-server/debian/invirt-vnc-server.init

    r1399 r1407  
    1919DAEMON=/usr/sbin/invirt-vnc-server
    2020DAEMON_ARGS=""
    21 PIDFILE=/var/run/$NAME.pid
    22 SCRIPTNAME=/etc/init.d/$NAME
     21PIDFILE=/var/run/$PACKAGE.pid
     22SCRIPTNAME=/etc/init.d/$PACKAGE
    2323
    2424# Exit if the package is not installed
     
    3636        #   1 if daemon was already running
    3737        #   2 if daemon could not be started
    38         daemon --running -n $NAME && return 1
    39         daemon -r -U -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2
     38        daemon --running -n $PACKAGE && return 1
     39        daemon -r -U -O daemon.info -E daemon.err -n $PACKAGE -U $DAEMON $DAEMON_ARGS || return 2
    4040}
    4141
     
    5050        #   2 if daemon could not be stopped
    5151        #   other if a failure occurred
    52         daemon --stop -n $NAME
     52        daemon --stop -n $PACKAGE
    5353        RETVAL="$?"
    5454        [ "$RETVAL" = 2 ] && return 2
Note: See TracChangeset for help on using the changeset viewer.