systemd: RequiredBy versus WantedBy - DEBAMAX
debamax.com › blog › 2020/06/14Jun 14, 2020 · Each part is managed by a systemd service unit: debamax-daemon is spawning a daemon which manages REST requests, so uses Type=simple in the [Service] section. debamax-upgrade is spawning a shell script which determines whether there's something to do on the upgrade side, so uses Type=oneshot in the [Service] section.