mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not enable yunohost-firewall service at install
This commit is contained in:
parent
f4a9f1b85b
commit
4e790e2626
2 changed files with 7 additions and 4 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
@ -5,8 +5,11 @@
|
|||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh ${@} --with=systemd,python2
|
||||
dh ${@} --with=python2
|
||||
|
||||
override_dh_installinit:
|
||||
dh_systemd_enable --name yunohost-api
|
||||
dh_systemd_enable --name yunohost-firewall --no-enable
|
||||
dh_installinit --name=yunohost-api
|
||||
dh_installinit --name=yunohost-firewall
|
||||
dh_systemd_start
|
||||
|
|
|
@ -269,10 +269,10 @@ def tools_postinstall(domain, password, ignore_dyndns=False):
|
|||
|
||||
# Enable UPnP silently and reload firewall
|
||||
firewall_upnp('enable', no_refresh=True)
|
||||
firewall_reload()
|
||||
|
||||
# Enable iptables at boot time
|
||||
os.system('update-rc.d yunohost-firewall defaults')
|
||||
# Enable and start YunoHost firewall at boot time
|
||||
os.system('update-rc.d yunohost-firewall enable')
|
||||
os.system('service yunohost-firewall start')
|
||||
|
||||
os.system('touch /etc/yunohost/installed')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue