/** * Systemd Service - Linux user service management * * Aligned with OpenClaw systemd implementation: * - Restart=always with RestartPreventExitStatus=78 * - StartLimitBurst/StartLimitIntervalSec for rate limiting * - KillMode=control-group * - network-online.target dependency */ import type { GatewayService, GatewayServiceEnv } from './types.js'; export declare function resolveSystemdUserUnitPath(env?: GatewayServiceEnv): string; export declare function buildSystemdUnit(params: { description: string; programArguments: string[]; workingDirectory?: string; environment: Record; }): string; export declare function isSystemdAvailable(): boolean; export declare function enableLinger(): Promise; export declare const systemdService: GatewayService;