A minimal drop-in for (a subset of) the systemd init system in rust. For now that is just out of interest how far I could come with this and what would be needed to get a somewhat working system. It is very much a proof of concept. For the love of god do not use this in anything that is important.
It does look somewhat promising, the really ugly parts are “working”. There is a lot of cleanup to be done. There is a whole lot of unwrap () calling where error handling should be done properly.
What works
This section should be somewhat up to date with what parts are (partly?) Implemented
- Parsing of socket files (a subset of the settings are recognized)
- Pretty much all parts of the sd_notify API
- Waiting for services of type dbus
- Parsing of service files (a subset of the settings are recognized)
Ordering of services according to the before / after relations
- Killing services that require services that have died
- Matching services and sockets either by name or dynamically by parsing the appropiate settings in the .service / .socket filesPassing filedescriptors to the daemons as systemd clients expect them (names and all that good stuff)
Waiting for the READY=1 notification for services of type notify
- ********************
**************Read More************
GIPHY App Key not set. Please check settings