Subversion Repositories lsh

Compare Revisions

Ignore whitespace Rev 44 → Rev 45

/trunk/debian/changelog
1,3 → 1,10
lsh-utils (2.0.4-dfsg-4) unstable; urgency=high
 
* lsh-server.init.d: Fix critical exit status ($?) handling mistake
(Closes: #545090).
 
-- Magnus Holmgren <holmgren@debian.org> Sat, 05 Sep 2009 00:44:45 +0200
 
lsh-utils (2.0.4-dfsg-3) unstable; urgency=low
 
* lsh-doc: Depend on dpkg (>= 1.15.4) | install-info as recommended for
/trunk/debian/lsh-server.init.d
83,7 → 83,8
[ "$VERBOSE" = no ] || log_daemon_msg "Starting $DESC" "$NAME"
start-stop-daemon --start --quiet --oknodo --pidfile $PIDFILE --exec $DAEMON \
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG
[ "$VERBOSE" = no ] || log_end_msg $?
ret=$?
[ "$VERBOSE" = no ] || log_end_msg $ret
;;
stop|graceful-stop)
[ "$VERBOSE" = no ] || log_daemon_msg "Gracefully stopping $DESC" "$NAME"
91,7 → 92,8
# keeps running until all active connections have been closed
start-stop-daemon --stop --retry HUP/1 --quiet --pidfile $PIDFILE \
--oknodo --exec $DAEMON
[ "$VERBOSE" = no ] || log_end_msg $?
ret=$?
[ "$VERBOSE" = no ] || log_end_msg $ret
;;
restart|force-reload)
create_seed_and_key
100,7 → 102,8
--oknodo --exec $DAEMON &&
start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON \
-- --daemonic --port "$LSHD_PORT" $SFTP_FLAG
[ "$VERBOSE" = no ] || log_end_msg $?
ret=$?
[ "$VERBOSE" = no ] || log_end_msg $ret
;;
status)
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?