smartnginx/dist/smartnginx.command.d.ts

20 lines
503 B
TypeScript
Raw Normal View History

2016-07-11 14:34:51 +00:00
/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
2016-07-06 04:33:31 +00:00
import { NginxConfig } from "./smartnginx.classes.nginxconfig";
/**
* starts nginx
*/
2016-07-11 14:34:51 +00:00
export declare let start: (configArg: NginxConfig) => plugins.q.Promise<{}>;
/**
* restarts nginx
*/
export declare let restart: (configArg: NginxConfig) => plugins.q.Promise<{}>;
2016-07-06 04:33:31 +00:00
/**
* stops nginx
*/
2016-07-11 14:34:51 +00:00
export declare let stop: () => plugins.q.Promise<{}>;
2016-07-06 04:33:31 +00:00
/**
* checks if nginx is in path
*/
export declare let check: () => boolean;