Change restart to fail if not running
This commit is contained in:
parent
ff681adc5b
commit
9dec0971d6
|
@ -152,8 +152,7 @@ stop() {
|
|||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
stop && start
|
||||
}
|
||||
|
||||
status() {
|
||||
|
|
Loading…
Reference in New Issue