now ending nginx after test
This commit is contained in:
@@ -62,7 +62,7 @@ export class NginxConfig {
|
||||
.then(() => {
|
||||
done.resolve();
|
||||
});
|
||||
|
||||
|
||||
return done.promise;
|
||||
};
|
||||
};
|
||||
|
@@ -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