kopia lustrzana https://github.com/alecmuffett/eotk
commit: nxreload
rodzic
bd00e4a91a
commit
f960664c42
6
eotk
6
eotk
|
@ -77,7 +77,7 @@ Configure() {
|
|||
if [ -s $file2 ] ; then
|
||||
echo $prog: $file: using existing $file2
|
||||
else
|
||||
echo $prog: $file: populating $file2 with onions
|
||||
echo $prog: $file: populating $file2 with onions, please be very patient...
|
||||
Populate $file > $file2
|
||||
fi
|
||||
file="$file2"
|
||||
|
@ -131,6 +131,10 @@ case "$cmd" in
|
|||
Action bounce "$@"
|
||||
;;
|
||||
|
||||
nxreload) # project, or "-a"
|
||||
Action nxreload "$@"
|
||||
;;
|
||||
|
||||
debugon) # project, or "-a"
|
||||
Action debugon "$@"
|
||||
;;
|
||||
|
|
|
@ -336,7 +336,7 @@ sub DoProject {
|
|||
&SetEnv("header_hpkp_suppress", 1);
|
||||
&SetEnv("header_hsts_suppress", 1);
|
||||
|
||||
&SetEnv("SCRIPT_NAMES", "bounce.sh debugoff.sh debugon.sh harvest.sh maps.sh start.sh status.sh stop.sh syntax.sh");
|
||||
&SetEnv("SCRIPT_NAMES", "bounce.sh debugoff.sh debugon.sh harvest.sh maps.sh nxreload.sh start.sh status.sh stop.sh syntax.sh");
|
||||
&SetEnv("SCRIPT_PAUSE", 5);
|
||||
|
||||
# dynamic settings: overridable / may be given a global setting
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
# eotk (c) 2017 Alec Muffett
|
||||
cd %PROJECT_DIR% || exit 1
|
||||
|
||||
nginxconf=%PROJECT_DIR%/nginx.conf
|
||||
test -f $nginxconf && nginx -c $nginxconf -s reload
|
||||
|
||||
exit 0
|
Ładowanie…
Reference in New Issue