UNPKG

forge-deploy-cli

Version:

Professional CLI for local deployments with automatic subdomain routing, SSL certificates, and infrastructure management

74 lines 1.76 kB
export interface AutoRestartConfig { enabled: boolean; serviceName: string; executablePath: string; workingDirectory: string; logPath: string; restartDelay: number; } export declare class AutoRestartService { private static readonly CONFIG_FILE; private static readonly SERVICE_NAME; private static readonly LOG_DIR; /** * Setup auto-restart for the Forge CLI */ static setupAutoRestart(): Promise<void>; /** * Remove auto-restart service */ static removeAutoRestart(): Promise<void>; /** * Check if auto-restart is enabled */ static isAutoRestartEnabled(): Promise<boolean>; /** * Start the auto-restart service */ static startAutoRestart(): Promise<void>; /** * Stop the auto-restart service */ static stopAutoRestart(): Promise<void>; /** * Create configuration for auto-restart */ private static createConfig; /** * Setup Windows service */ private static setupWindowsService; /** * Setup Unix/Linux service (systemd) */ private static setupUnixService; /** * Remove Windows service */ private static removeWindowsService; /** * Remove Unix service */ private static removeUnixService; /** * Save configuration */ private static saveConfig; /** * Load configuration */ private static loadConfig; /** * Remove configuration */ private static removeConfig; /** * Start the service daemon */ static startServiceDaemon(): Promise<void>; /** * Monitoring loop for the service */ private static startMonitoringLoop; } //# sourceMappingURL=autoRestart.d.ts.map