postinst: do not run manual pidof checks when running with systemd or pidof is not available

This is unnecessary when running under systemd. Also pidof might no longer be essential in the future, so check if it is present before calling it.

Merge request reports

Loading