1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/octoprint_ynh.git synced 2024-09-03 19:46:26 +02:00

Fix service remove on uninstall

This commit is contained in:
Alexis Lothoré 2020-01-26 21:32:01 +01:00
parent 15d68d5571
commit 058d449f65

View file

@ -35,7 +35,7 @@ fi
# remove systemd service
ynh_system_reload --service_name="$app@$app" --action=stop
ynh_system_reload --service_name="$app@$app" --action=disable
ynh_secure_remove "/etc/systemd/system/$app.service"
ynh_secure_remove "/etc/systemd/system/$app@$app.service"
# close port
ynh_exec_fully_quiet yunohost firewall disallow TCP $port