1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mosquitto_ynh.git synced 2024-09-03 19:45:54 +02:00

Try to pkill user processes

This commit is contained in:
Salamandar 2024-01-19 17:29:18 +01:00
parent 371653bc1e
commit 6138cd181d

View file

@ -20,6 +20,9 @@ if ynh_exec_warn_less yunohost service status "$app" >/dev/null; then
fi fi
# Remove the dedicated systemd config # Remove the dedicated systemd config
# It seems the simple stop is not enough…
ynh_systemd_action --service_name="$app" --action="stop"
pkill -u "$app" || true
ynh_remove_systemd_config ynh_remove_systemd_config
# Remove the app-specific logrotate config # Remove the app-specific logrotate config