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:
parent
371653bc1e
commit
6138cd181d
1 changed files with 3 additions and 0 deletions
|
@ -20,6 +20,9 @@ if ynh_exec_warn_less yunohost service status "$app" >/dev/null; then
|
|||
fi
|
||||
|
||||
# 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
|
||||
|
||||
# Remove the app-specific logrotate config
|
||||
|
|
Loading…
Reference in a new issue