X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/b78f64c598c8db7c0106f25a3bd2ad83e7d4ce45..c78e6095940db235000966dc35e4d3ca6f341bb0:/debian/sipb-xen-console.init?ds=inline diff --git a/debian/sipb-xen-console.init b/debian/sipb-xen-console.init index 14ed7e8..117aec4 100755 --- a/debian/sipb-xen-console.init +++ b/debian/sipb-xen-console.init @@ -44,6 +44,7 @@ do_start() # 0 if daemon has been started # 1 if daemon was already running # 2 if daemon could not be started + modprobe fuse daemon --running -n $NAME && return 1 daemon -r -O daemon.info -E daemon.err -n $NAME -U $DAEMON $DAEMON_ARGS || return 2 } @@ -63,6 +64,7 @@ do_stop() [ "$RETVAL" = 2 ] && return 2 # Many daemons don't delete their pidfiles when they exit. rm -f $PIDFILE + umount "$DAEMON_ARGS" return "$RETVAL" }