|
@ -165,7 +165,7 @@ fi |
|
|
# Adjust FastCGI Cache Size 20% Of /var/run |
|
|
# Adjust FastCGI Cache Size 20% Of /var/run |
|
|
VARRUNSIZE=$(df --block-size=M /var/run | awk '{print $4}' | tail -n1 |cut -d'M' -f1) |
|
|
VARRUNSIZE=$(df --block-size=M /var/run | awk '{print $4}' | tail -n1 |cut -d'M' -f1) |
|
|
FCSIZE=$(expr $VARRUNSIZE \* 25 / 100) |
|
|
FCSIZE=$(expr $VARRUNSIZE \* 25 / 100) |
|
|
f |
|
|
|
|
|
# Change Size |
|
|
# Change Size |
|
|
sed -i "s/500m/$FCSIZE\m/" /usr/share/easyengine/nginx/conf.d/fastcgi.conf || OwnError "Unable To Change Fastcgi Cache Size" |
|
|
sed -i "s/500m/$FCSIZE\m/" /usr/share/easyengine/nginx/conf.d/fastcgi.conf || OwnError "Unable To Change Fastcgi Cache Size" |
|
|
|
|
|
|
|
|