mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Do not start yunohost-firewall service by default
This commit is contained in:
parent
70fb1f3a29
commit
e133acdc84
3 changed files with 16 additions and 1 deletions
4
debian/postinst
vendored
4
debian/postinst
vendored
|
@ -12,6 +12,10 @@ do_configure() {
|
|||
bash /usr/share/yunohost/hooks/conf_regen/15-nginx True
|
||||
else
|
||||
yunohost service regenconf
|
||||
|
||||
# restart yunohost-firewall if it's running
|
||||
service yunohost-firewall status > /dev/null \
|
||||
&& service yunohost-firewall restart
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
11
debian/prerm
vendored
Normal file
11
debian/prerm
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -x "/etc/init.d/yunohost-firewall" ]; then
|
||||
invoke-rc.d yunohost-firewall stop || exit $?
|
||||
fi
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -9,4 +9,4 @@
|
|||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=yunohost-api
|
||||
dh_installinit --name=yunohost-firewall
|
||||
dh_installinit --name=yunohost-firewall --no-start
|
||||
|
|
Loading…
Add table
Reference in a new issue