3 ms·
I maintain a fork of Upstart that I call startup. It integrates with udev (or busybox's uevent, or any other event source) so you can start daemons based on dev
by CameronNemo 7y ago
I maintain a fork of Upstart that I call startup. It integrates with udev (or busybox's uevent, or any other event source) so you can start daemons based on device events and then supervise those daemons. systemd has something similar where you can place a SYSTEMD_WANTS stanza in a udev rule and it will pull in a systemd unit, but I really dislike that model because it is hard to discover the policy that led to a unit being activated. With startup/Upstart, the policy is in the job configuration itself.
Source for startup: https://gitlab.com/chinstrap/startup https://gitlab.com/chinstrap/startup
Example of the udev events in action: https://gitlab.com/chinstrap/pinebook-pro/blob/master/etc/startup/setfont.conf https://gitlab.com/chinstrap/pinebook-pro/blob/master/etc/st...