Expand description
OS-native supervision for the node binary: install / uninstall / status /
restart, plus an in-process run-supervised parent for platforms where the
OS restart policy is incomplete (Windows Task Scheduler).
Structs§
- Instance
Lock - Hold an exclusive lock on
{enroll-state}/node.instance.lock. - Launch
Plist - Schtasks
Xml - Service
Spec - Service
Status - Systemd
Unit
Functions§
- acquire_
instance_ lock - dispatch
- Parse
install|uninstall|service-status|service-restart|run-supervised. Returnstrueif handled (caller should return). - install
- install_
panic_ hook - render_
launchd_ plist - render_
schtasks_ xml - render_
systemd_ unit - restart
- run_
supervised - Parent process: respawn
current_exewithchild_argsuntil forever. - status
- uninstall