now ending nginx after test

This commit is contained in:
2016-07-25 02:57:17 +02:00
parent 52c3b40879
commit f32002309d
5 changed files with 15 additions and 5 deletions

View File

@ -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!");