28 lines
431 B
TypeScript
28 lines
431 B
TypeScript
|
import * as plugins from "./smartnginx.plugins";
|
||
|
import {NginxConfig,NginxZone} from "./smartnginx.classes.nginxconfig";
|
||
|
|
||
|
/**
|
||
|
* 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;
|
||
|
};
|