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