Browse Source

Make sure to remove iptable rules during uninstall

Alexandre Aubin 3 years ago
parent
commit
f91c15b3a5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/remove

+ 4 - 0
scripts/remove

@@ -76,6 +76,10 @@ ynh_secure_remove /etc/openvpn/keys
 # Reload systemd configuration
 systemctl daemon-reload
 
+# Make sure to reload the firewall now that the post_iptables_rules ain't there anymore
+ynh_print_info "Reloading firewall"
+yunohost firewall reload
+
 #=================================================
 # REMOVE DEPENDENCIES
 #=================================================