From 3b70601254cc32ed268da0e8ffeda5ce21cf33c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Lebleu?= Date: Sat, 9 Apr 2016 17:35:27 +0200 Subject: [PATCH] [deb] Enable yunohost-firewall on service restart at postinst --- debian/postinst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/postinst b/debian/postinst index 85aed721..34f6cd24 100644 --- a/debian/postinst +++ b/debian/postinst @@ -36,7 +36,7 @@ restart_yunohost_firewall() { fi if [ -x /etc/init.d/yunohost-firewall ]; then - update-rc.d yunohost-firewall defaults >/dev/null + update-rc.d yunohost-firewall enable >/dev/null if [ -n "$2" ]; then invoke-rc.d yunohost-firewall restart >/dev/null || exit $? fi