smartnginx/dist/smartnginx.command.d.ts
2016-07-11 16:34:51 +02:00

20 lines
503 B
TypeScript

/// <reference types="q" />
import * as plugins from "./smartnginx.plugins";
import { NginxConfig } from "./smartnginx.classes.nginxconfig";
/**
* starts nginx
*/
export declare let start: (configArg: NginxConfig) => plugins.q.Promise<{}>;
/**
* restarts nginx
*/
export declare let restart: (configArg: NginxConfig) => plugins.q.Promise<{}>;
/**
* stops nginx
*/
export declare let stop: () => plugins.q.Promise<{}>;
/**
* checks if nginx is in path
*/
export declare let check: () => boolean;