add help text
This commit is contained in:
parent
a26e4f32ea
commit
bbe642bb8f
1 changed files with 15 additions and 1 deletions
16
servicectl
16
servicectl
|
|
@ -220,6 +220,20 @@ case "$1" in
|
|||
;;
|
||||
|
||||
*)
|
||||
exit_code "1" "" "Expected one of (start|stop|restart|status|statusall|startall|stopall|restartall|listall|listactive|listinactive)"
|
||||
exit_code "1" "" "Usage:
|
||||
$0 (start|stop|restart|status|statusall|startall|stopall|restartall|listall|listactive|listinactive) [service]
|
||||
|
||||
Options:
|
||||
start <service> - Start a service
|
||||
stop <service> - Stop a service
|
||||
restart <service> - Restart a service
|
||||
status <service> - Get the status of a service
|
||||
statusall - Get the status of all services
|
||||
startall - Start all services
|
||||
stopall - Stop all services
|
||||
restartall - Restart all services
|
||||
listall - List all services
|
||||
listactive - List all active services
|
||||
listinactive - List all inactive services"
|
||||
;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue