import { LaunchdService } from "https://deno.land/x/service@1.0.0-beta.6/lib/managers/launchd.ts";
Methods
generateConfig(options: InstallServiceOptions): string
Generates a Launchd plist configuration file content as a string based on the given options.
install(config: InstallServiceOptions, onlyGenerate: boolean)
rollback(plistPath: string)
Rolls back any changes made during the launchd service installation process by removing the plist file.
uninstall(config: UninstallServiceOptions)
Uninstalls a Launchd service by removing the service configuration file (plist). Checks if the service exists and removes it if found.