Update run.sh
This commit is contained in:
parent
2d2378443e
commit
a48f5cfc6d
2
run.sh
2
run.sh
@ -3,7 +3,7 @@ set -vx
|
|||||||
# remove previous pid (if exist) after crash
|
# remove previous pid (if exist) after crash
|
||||||
rm /var/run/$HOSTNAME.pid
|
rm /var/run/$HOSTNAME.pid
|
||||||
|
|
||||||
LIMIT="-cmin +5"
|
LIMIT="-cmin +1440"
|
||||||
FINDTIME=$(find /var/cache/squid/$HOSTNAME/* -maxdepth 0 -type d $LIMIT)
|
FINDTIME=$(find /var/cache/squid/$HOSTNAME/* -maxdepth 0 -type d $LIMIT)
|
||||||
|
|
||||||
chown -R squid /var/log/squid
|
chown -R squid /var/log/squid
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user