Merge "Use lsb functions if /lib/lsb/init-functions file exists"

This commit is contained in:
Shawn Pearce 2017-06-20 17:48:09 +00:00 committed by Gerrit Code Review
commit 1a8eed5a02

View File

@ -45,6 +45,10 @@
# If set to "0" disables using start-stop-daemon. This may need to
# be set on SuSE systems.
if test -f /lib/lsb/init-functions ; then
. /lib/lsb/init-functions
fi
usage() {
me=`basename "$0"`
echo >&2 "Usage: $me {start|stop|restart|check|status|run|supervise|threads} [-d site]"