summaryrefslogtreecommitdiffstats
path: root/bin/dehydrated-cron
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dehydrated-cron')
-rwxr-xr-xbin/dehydrated-cron7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/dehydrated-cron b/bin/dehydrated-cron
new file mode 100755
index 0000000..bd3bcf5
--- /dev/null
+++ b/bin/dehydrated-cron
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+dehydrated -c
+dehydrated -gc
+rm -f /var/lib/dehydrated/archive/*