|
|
@ -183,7 +183,7 @@ restart() { |
|
|
stop && start |
|
|
stop && start |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
orce_reload() { |
|
|
force_reload() { |
|
|
working_dir=$(dirname "$mainfile") |
|
|
working_dir=$(dirname "$mainfile") |
|
|
pushd "$working_dir" > /dev/null |
|
|
pushd "$working_dir" > /dev/null |
|
|
[[ -f $pid_file ]] || { echoRed "Not running (pidfile not found)"; return 7; } |
|
|
[[ -f $pid_file ]] || { echoRed "Not running (pidfile not found)"; return 7; } |
|
|
|