Fix an nginx conf typo

This commit is contained in:
Julien VAUBOURG
2014-12-28 23:28:09 +01:00
parent 2b1c541caa
commit 6fb227a250
2 changed files with 53 additions and 45 deletions

View File

@@ -174,6 +174,8 @@ moulinette_set() {
fi
}
if [ "$1" != restart ]; then
# Restart php5-fpm at the first start (it needs to be restarted after the slapd start)
if [ ! -e /tmp/.ynh-vpnclient-boot ]; then
touch /tmp/.ynh-vpnclient-boot
@@ -223,6 +225,8 @@ fi
echo "OK"
fi
# Script
case "${1}" in
@@ -306,6 +310,10 @@ case "${1}" in
service ynh-hotspot start
fi
;;
restart)
$0 stop
$0 start
;;
status)
exitcode=0
@@ -358,7 +366,7 @@ case "${1}" in
exit ${exitcode}
;;
*)
echo "Usage: $0 {start|stop|litestop|status}"
echo "Usage: $0 {start|stop|litestop|restart|status}"
exit 1
;;
esac