smartnginx/ts/smartnginx.command.ts
2016-07-06 08:30:33 +02:00

29 lines
479 B
TypeScript

import * as plugins from "./smartnginx.plugins";
import {NginxConfig} from "./smartnginx.classes.nginxconfig";
import {NginxZone} from "./smartnginx.classes.nginxzone";
/**
* starts nginx
*/
export let start = (configArg:NginxConfig) => {
};
export let restart = (configArg:NginxConfig) => {
stop();
start(configArg);
}
/**
* stops nginx
*/
export let stop = () => {
};
/**
* checks if nginx is in path
*/
export let check = ():boolean => {
return;
};