Skip to main content

Module platform

Module platform 

Source
Expand description

Platform-specific service manager abstraction

This module provides a unified interface for registering the opencode-cloud service with platform-specific init systems (systemd on Linux, launchd on macOS).

Structs§

InstallResult
Result of a service installation operation
ServiceConfig
Configuration for service installation
SystemdManager
SystemdManager handles service registration with systemd on Linux

Traits§

ServiceManager
Trait for platform-specific service managers

Functions§

get_service_manager
Get the appropriate service manager for the current platform
is_service_registration_supported
Check if service registration is supported on the current platform
systemd_available
Check if systemd is available on this system