mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[lintian] fix init.d-script-does-not-implement-required-option etc/init.d/yunohost-api force-reload
This commit is contained in:
parent
e57a4533b4
commit
fe8c909f05
1 changed files with 2 additions and 2 deletions
4
debian/yunohost-api.init
vendored
4
debian/yunohost-api.init
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue