------------------------------------------------------------ revno: 5309 committer: Diego Biurrun <diego@xxxxxxxxxx> branch nick: packaging_new timestamp: Tue 2010-12-28 16:30:00 +0100 message: Add force-reload parameter to dnsproxy and hipfw init scripts. This is required by Debian policy and fixes a lintian warning. For now, 'force-reload' is just an alias for 'restart'. modified: debian/dnsproxy.init debian/hipfw.init -- lp:hipl https://code.launchpad.net/~hipl-core/hipl/trunk Your team HIPL core team is subscribed to branch lp:hipl. To unsubscribe from this branch go to https://code.launchpad.net/~hipl-core/hipl/trunk/+edit-subscription
=== modified file 'debian/dnsproxy.init' --- debian/dnsproxy.init 2010-12-28 15:26:43 +0000 +++ debian/dnsproxy.init 2010-12-28 15:30:00 +0000 @@ -54,7 +54,7 @@ stop) stop_dnsproxy ;; - restart) + restart|force-reload) stop_dnsproxy sleep 3 start_dnsproxy @@ -63,7 +63,7 @@ status_of_proc -p $PID_FILE /usr/sbin/hipdnsproxy hipdnsproxy && exit 0 || exit $? ;; *) - log_action_msg "Usage: /etc/init.d/dnsproxy {start|stop|restart|status}" + log_action_msg "Usage: /etc/init.d/dnsproxy {start|stop|restart|force-reload|status}" exit 1 esac === modified file 'debian/hipfw.init' --- debian/hipfw.init 2010-12-28 15:26:43 +0000 +++ debian/hipfw.init 2010-12-28 15:30:00 +0000 @@ -77,7 +77,7 @@ flush_iptables stop_hipfw ;; - restart) + restart|force-reload) log_daemon_msg "Restarting HIP firewall" "hipfw" flush_iptables stop_hipfw @@ -88,7 +88,7 @@ status_of_proc -p /var/lock/hip_firewall.lock /usr/sbin/hipfw hipfw && exit 0 || exit $? ;; *) - log_action_msg "Usage: /etc/init.d/hipfw {start|stop|restart|status}" + log_action_msg "Usage: /etc/init.d/hipfw {start|stop|restart|force-reload|status}" exit 1 esac