From a78435982c25aec366fe12a62418115e9a33c181 Mon Sep 17 00:00:00 2001 From: Julien Malik Date: Wed, 9 Sep 2015 18:58:50 +0200 Subject: [PATCH] [lintian] fix init.d-script-does-not-implement-required-option etc/init.d/yunohost-api force-reload --- debian/yunohost-api.init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/yunohost-api.init b/debian/yunohost-api.init index 2bd0222b2..3e75e159d 100755 --- a/debian/yunohost-api.init +++ b/debian/yunohost-api.init @@ -41,7 +41,7 @@ case "$1" in kill `ps aux | grep 'yunohost-api' | grep -v grep | grep -v stop | awk '{print $2}'` > /dev/null 2>&1 log_end_msg 0 ;; - restart) + restart|force-reload) logger "YunoHost API: Restarting" log_daemon_msg "Restarting API: YunoHost" if [ -f /var/run/yunohost-api.pid ]; then @@ -67,7 +67,7 @@ case "$1" in ;; *) logger "YunoHost API: Invalid usage" - echo "Usage: /etc/init.d/yunohost-api {start|stop|restart|status}" >&2 + echo "Usage: /etc/init.d/yunohost-api {start|stop|restart|force-reload|status}" >&2 exit 1 ;; esac