Merge pull request #102 from danielhjames/2.5.x-installer

Debian/Ubuntu require a force-reload option for sysvinit scripts
This commit is contained in:
Albert Santoni 2015-02-24 10:33:32 -05:00
commit 6eea40dbd8
3 changed files with 21 additions and 0 deletions

View File

@ -61,6 +61,13 @@ case "${1:-''}" in
start
echo "Done."
;;
'force-reload')
# reload commands here
echo -n "Reloading $NAME: "
stop
start
echo "Done."
;;
'status')
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
;;

View File

@ -61,6 +61,13 @@ case "${1:-''}" in
start
echo "Done."
;;
'force-reload')
# reload commands here
echo -n "Reloading $NAME: "
stop
start
echo "Done."
;;
'status')
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
;;

View File

@ -61,6 +61,13 @@ case "${1:-''}" in
start
echo "Done."
;;
'force-reload')
# reload commands here
echo -n "Reloading $NAME: "
stop
start
echo "Done."
;;
'status')
status_of_proc "$DAEMON" "$NAME" && exit 0 || exit $?
;;