mirror of
https://github.com/YunoHost-Apps/restic_ynh.git
synced 2024-09-03 20:16:22 +02:00
Fix remove
This commit is contained in:
parent
c9cea9c144
commit
c3c86a1c9e
1 changed files with 3 additions and 3 deletions
|
@ -18,9 +18,9 @@ for suffix in "${systemd_services_suffixes[@]}"; do
|
|||
if ynh_exec_warn_less yunohost service status "$app_suffix" >/dev/null; then
|
||||
yunohost service remove "$app_suffix"
|
||||
fi
|
||||
ynh_systemd_action --service="$app$suffix.timer" --action="stop"
|
||||
ynh_systemd_action --service="$app$suffix.timer" --action="disable"
|
||||
ynh_remove_systemd_config --service="$app$suffix"
|
||||
ynh_systemd_action --service_name="$app$suffix.timer" --action="stop"
|
||||
ynh_systemd_action --service_name="$app$suffix.timer" --action="disable"
|
||||
ynh_remove_systemd_config --service_name="$app$suffix"
|
||||
ynh_secure_remove "/etc/systemd/system/$app$suffix.timer"
|
||||
done
|
||||
|
||||
|
|
Loading…
Reference in a new issue