I think the right thing to do is changing the init script to actually
perform a "reload" when reload is called. restart or force-reload stay
the same, reload checks if lighttpd is running, and only performs the
restart if it is
reload)
log_daemon_msg "Reloading $DESC configuration" $NAME
if [ ! -e $PIDFILE ]; then
log_daemon_msg "$DESC not running, not doing anything" $NAME
log_end_msg 0
else
if $SSD --stop --signal 2 --oknodo --retry 30\
--quiet --pidfile $PIDFILE --exec $DAEMON; then
if $ENV $SSD --start --quiet \
--pidfile $PIDFILE --exec $DAEMON -- $DAEMON_OPTS ; then
log_end_msg 0
else
log_end_msg 1
fi
else
log_end_msg 1
fi
fi
--
lighttpd reload executes restart (bad on logrotate!)
https://bugs.launchpad.net/bugs/393792
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs