Fix an nginx conf typo
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user