Package: mini-httpd
Version: 1.19-8
Severity: important
Hi,
The init.d restart action doesn't work at all - it doesn't stop the
server so then it fails to start it.
restart|force-reload)
echo -n "Restarting $DESC: "
if [ "$START" = "0" ]
then
start-stop-daemon --start --quiet --pidfile /var/run/$NAME.pid \
--exec $DAEMON -- $DAEMON_OPTS
fi
sleep 1
start-stop-daemon --start --quiet --pidfile \
/var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
echo "$NAME."
;;
Both start-stop-daemons are called with --start. The second call exits
with error code 1 causing the whole script to exit because of `set -e':
[1]/etc/init.d> wajig restart mini-httpd
Restarting web server: [2]/etc/init.d>
Regards,
Robert
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (990, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26
Locale: LANG=pl_PL, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/pdksh
Versions of packages mini-httpd depends on:
ii libc6 2.7-16 GNU C Library: Shared libraries
ii libssl0.9.8 0.9.8g-14 SSL shared libraries
mini-httpd recommends no packages.
mini-httpd suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]