29 lines
479 B
TypeScript
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;
|
|
}; |