mirror of
https://github.com/bunkerity/bunkerized-nginx
synced 2023-12-13 21:30:18 +01:00
11 lines
196 B
Bash
11 lines
196 B
Bash
#!/bin/sh
|
|
|
|
logrotate -f /etc/logrotate.conf > /dev/null 2>&1
|
|
|
|
pkill -HUP rsyslogd
|
|
|
|
fail2ban-client flushlogs
|
|
|
|
if [ -f /tmp/nginx.pid ] ; then
|
|
/usr/sbin/nginx -s reload > /dev/null 2>&1
|
|
fi
|