On my debian 10 server pidof systemd
gives no result, although there are pids:
# pgrep systemd -la
1 /sbin/init
256 /lib/systemd/systemd-journald
275 /lib/systemd/systemd-udevd
282 /lib/systemd/systemd-timesyncd
355 /lib/systemd/systemd-logind
I would like to check in a general bash-install-script, if the current system uses systemd