Do not require arguments for os-svc-daemon.

They are not actually required, so allow os-svc-daemon to be called
without them.

Change-Id: I62c2887d48e4173005c54c9cab4ecd6aff8069a1
This commit is contained in:
Clint Byrum 2013-04-03 13:21:36 -07:00
parent ef7d0307ff
commit a18a5c85ff

View File

@ -23,7 +23,7 @@ exec start-stop-daemon --start -c $user --exec /opt/stack/venvs/$user/bin/$cmd $
EOF EOF
} }
if [ $# -lt 4 ]; then if [ $# -lt 3 ]; then
echo "Usage: os-svc-daemon DAEMON_NAME USER COMMAND [ARG[ARG[...]]]" echo "Usage: os-svc-daemon DAEMON_NAME USER COMMAND [ARG[ARG[...]]]"
exit 1 exit 1
fi fi