X-Git-Url: https://git.auder.net/?p=mixstore.git;a=blobdiff_plain;f=resetCacheLogs.sh;fp=resetCacheLogs.sh;h=101abf2c4f0b700cdc2422e6a3be0c1f3b7ab7b5;hp=0000000000000000000000000000000000000000;hb=6b3f9b327969c37f981a49fa0209f133f8696bc7;hpb=929ca0664edba8cc305d0b0033febd3fa06a7e73 diff --git a/resetCacheLogs.sh b/resetCacheLogs.sh new file mode 100644 index 0000000..101abf2 --- /dev/null +++ b/resetCacheLogs.sh @@ -0,0 +1,10 @@ +#!/bin/sh +#Clean cache and logs + +if [ -d app/cache ]; then + rm -rf app/cache/* +fi +if [ -d app/logs ]; then + rm -rf app/logs/* +fi +chmod 777 app/{cache,logs}