[fix] Display a more detailed message when yunohost-firewall is stopped

This commit is contained in:
Jérôme Lebleu 2015-11-15 15:34:36 +01:00
parent eaef922d4e
commit b83c7317b3

3
debian/postinst vendored
View file

@ -17,7 +17,8 @@ do_configure() {
# restart yunohost-firewall if it's running
service yunohost-firewall status > /dev/null \
&& service yunohost-firewall restart \
|| echo "Firewall stopped"
|| echo "Service yunohost-firewall is not running, you should " \
"consider to start it."
fi
# update PAM configs