mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[deb] Enable yunohost-firewall on service restart at postinst
This commit is contained in:
parent
85d9acdfd0
commit
3b70601254
1 changed files with 1 additions and 1 deletions
2
debian/postinst
vendored
2
debian/postinst
vendored
|
@ -36,7 +36,7 @@ restart_yunohost_firewall() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -x /etc/init.d/yunohost-firewall ]; then
|
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
|
if [ -n "$2" ]; then
|
||||||
invoke-rc.d yunohost-firewall restart >/dev/null || exit $?
|
invoke-rc.d yunohost-firewall restart >/dev/null || exit $?
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue