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

Fix systemd service remove

This commit is contained in:
ewilly 2020-08-13 22:10:20 +02:00
parent 04f7966e55
commit 80061bfdb0

View file

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