diff --git a/helpers/systemd b/helpers/systemd index f657386bd..5c19610db 100644 --- a/helpers/systemd +++ b/helpers/systemd @@ -92,7 +92,8 @@ ynh_systemd_action() { fi # do not start a service disabled by the user - if [ "$action" == "start" ] && ! yunohost service status $service_name | grep -q "start_on_boot: disabled"; then + if [ "$action" == "start" ] || [ "$action" == "reload_or_restart" ] || [ "$action" == "restart" ] && \ + ! yunohost service status $service_name | grep -q "start_on_boot: disabled"; then return 0 fi