Vestibule/scripts/vestibule-usher.service

25 lines
780 B
SYSTEMD
Executable File

[Unit]
Description=Vestibule usher — kiosk unlock helper + power monitor
After=graphical-session.target
PartOf=graphical-session.target
[Service]
Type=simple
# usher is launched by LibreWolf via Native Messaging when the extension
# connects. This systemd unit is a watchdog that ensures usher is
# available even before LibreWolf starts, and restarts it if it crashes
# outside of a Native Messaging session.
#
# In typical kiosk operation, LibreWolf manages usher's lifecycle.
# This unit is the step-down supervisor for bare-metal deployments
# where usher must run ahead of the browser for unlock and power
# monitoring.
ExecStart=%h/.local/bin/usher
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=graphical-session.target