now ending nginx after test
This commit is contained in:
@ -52,7 +52,7 @@ export class NginxProcess {
|
||||
stop() {
|
||||
let done = plugins.q.defer();
|
||||
if (typeof this.nginxChildProcess != "undefined") {
|
||||
this.nginxChildProcess.kill();
|
||||
this.nginxChildProcess.kill("SIGTERM");
|
||||
plugins.beautylog.info("stopped Nginx!");
|
||||
} else {
|
||||
plugins.beautylog.log("nginx already stopped!");
|
||||
|
Reference in New Issue
Block a user