fix inhibit when systemd-services not installed