last fixes before next release ?

This commit is contained in:
bunkerity
2020-12-07 16:53:00 +01:00
parent f618c73e6c
commit 75c69c8105
13 changed files with 12 additions and 12 deletions

View File

@@ -10,5 +10,5 @@ while read entry ; do
done
cp /etc/nginx/block-abusers.conf /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -10,5 +10,5 @@ find /etc/letsencrypt -type d -exec chmod 750 {} \;
# reload nginx
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -10,5 +10,5 @@ while read entry ; do
done
cp /etc/nginx/block-tor-exit-node.conf /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -7,6 +7,6 @@ if [ -f /etc/nginx/geoip.mmdb.gz ] ; then
gunzip -f /etc/nginx/geoip.mmdb.gz
cp /etc/nginx/geoip.mmdb /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi
fi

View File

@@ -7,5 +7,5 @@ pkill -HUP rsyslogd
fail2ban-client flushlogs
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -10,5 +10,5 @@ while read entry ; do
done
cp /etc/nginx/block-proxies.conf /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -11,5 +11,5 @@ echo -e "map \$http_referer \$bad_referrer { hostnames; default no; $DATA }" > /
cp /etc/nginx/map-referrer.conf /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi

View File

@@ -13,5 +13,5 @@ echo -e "map \$http_user_agent \$bad_user_agent { default no; $DATA_ESCAPED }" >
cp /etc/nginx/map-user-agent.conf /cache
if [ -f /tmp/nginx.pid ] ; then
/usr/sbin/nginx -s reload
/usr/sbin/nginx -s reload > /dev/null 2>&1
fi