smartnginx/ts/smartnginx.command.ts

29 lines
479 B
TypeScript
Raw Normal View History

2016-07-06 04:33:31 +00:00
import * as plugins from "./smartnginx.plugins";
2016-07-06 06:30:33 +00:00
import {NginxConfig} from "./smartnginx.classes.nginxconfig";
import {NginxZone} from "./smartnginx.classes.nginxzone";
2016-07-06 04:33:31 +00:00
/**
* 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;
};