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
d5e3b43ab9
commit
a78435982c
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
|
kill `ps aux | grep 'yunohost-api' | grep -v grep | grep -v stop | awk '{print $2}'` > /dev/null 2>&1
|
||||||
log_end_msg 0
|
log_end_msg 0
|
||||||
;;
|
;;
|
||||||
restart)
|
restart|force-reload)
|
||||||
logger "YunoHost API: Restarting"
|
logger "YunoHost API: Restarting"
|
||||||
log_daemon_msg "Restarting API: YunoHost"
|
log_daemon_msg "Restarting API: YunoHost"
|
||||||
if [ -f /var/run/yunohost-api.pid ]; then
|
if [ -f /var/run/yunohost-api.pid ]; then
|
||||||
|
@ -67,7 +67,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
logger "YunoHost API: Invalid usage"
|
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
|
exit 1
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Add table
Reference in a new issue