Init vs Systemd
Source: Init vs Systemd: What is an init daemon?
service
- Init daemon
- Start services sequencially.
- Need to write a script under
/etc/init.d
to manage a service
TBD: some code example
systemd
- Start services parallel by a depend DAG of services.
- Config under
/etc/systemd/system/
- Run the config under
/lib/systemd
. If not found, then fallback to/etc/init.d