aboutsummaryrefslogtreecommitdiff
path: root/clear_cache
diff options
context:
space:
mode:
authorMaZderMind2016-08-26 16:59:41 +0200
committerMaZderMind2016-08-26 16:59:41 +0200
commitdaf6acb3a30cb2722637d0529f6516d5f0dd8df2 (patch)
tree1d3adac5ce8187e1c6541ddd396a9ca775138a7a /clear_cache
parentba4186b24b69b582c37a7640c5c67d3ddac01961 (diff)
add clear-cache script
Diffstat (limited to 'clear_cache')
-rwxr-xr-xclear_cache2
1 files changed, 2 insertions, 0 deletions
diff --git a/clear_cache b/clear_cache
new file mode 100755
index 0000000..d6be019
--- /dev/null
+++ b/clear_cache
@@ -0,0 +1,2 @@
+#!/bin/sh
+sudo sh -c 'rm -rf /srv/nginx/cache/streaming_fcgi/*'