@@ -, +, @@ --- alterator-service-functions/alterator-service-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/alterator-service-functions/alterator-service-functions +++ a/alterator-service-functions/alterator-service-functions @@ -284,7 +284,7 @@ _service_control() { # Prefer systemctl over SysV if it is available relying # on its systemd-sysv-install script for SysV services. - if sd_avail; then + if sd_avail && sd_sysv_avail; then sd_service_control "$1" "$2" elif sysv_service_script_exists "$1"; then sysv_service_control "$1" "$2" --