mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Display a more detailed message when yunohost-firewall is stopped
This commit is contained in:
parent
eaef922d4e
commit
b83c7317b3
1 changed files with 2 additions and 1 deletions
3
debian/postinst
vendored
3
debian/postinst
vendored
|
@ -17,7 +17,8 @@ do_configure() {
|
||||||
# restart yunohost-firewall if it's running
|
# restart yunohost-firewall if it's running
|
||||||
service yunohost-firewall status > /dev/null \
|
service yunohost-firewall status > /dev/null \
|
||||||
&& service yunohost-firewall restart \
|
&& service yunohost-firewall restart \
|
||||||
|| echo "Firewall stopped"
|
|| echo "Service yunohost-firewall is not running, you should " \
|
||||||
|
"consider to start it."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# update PAM configs
|
# update PAM configs
|
||||||
|
|
Loading…
Add table
Reference in a new issue