fix for systemd-enabled systems