Skip to main content

Module service_handlers

Module service_handlers 

Source
Expand description

Handlers for service management commands

Provides lifecycle management for hyprstream services including installation, upgrade, start/stop, and status display.

Functions§

direct_child_process_config
Build one child invocation for the direct launch path (#1585).
handle_print_cert_hash
Handle --print-cert-hash — output the SHA-256 hash of the QUIC certificate.
handle_service_ensure_key
Handle service ensure-key — materialize a service’s signing key and its public sidecars without starting any services.
handle_service_install
Handle service install - Idempotent setup and optional restart
handle_service_provision_policy_templates
Persist requested built-in templates into the same policy store loaded by PolicyService, without starting a resolver or loading service credentials.
handle_service_reconcile_enrollment
Reconcile the published local service roster before runtime startup.
handle_service_start
Handle service start (non-foreground) - Start via systemd or spawn
handle_service_status
Handle service status - Show current state
handle_service_stop
Handle service stop - Stop services
handle_service_uninstall
Handle service uninstall - Stop and remove units
launch_direct_children
Launch children directly in profile-aware dependency order (#1585).
run_repair_checks
Run repair checks: directories, registry, policy, signing key, git identity.