summaryrefslogtreecommitdiffstats
path: root/dehydrated/bin/dehydrated-cron
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2021-09-28 17:19:25 +0000
committerDaniel Baumann <mail@daniel-baumann.ch>2021-09-28 19:12:17 +0000
commitac22545e9243f1a12384b0f5c5362fc572c2d4c6 (patch)
tree03da66e7d4b0e5e971a2cb9aff6cd8181b5f5542 /dehydrated/bin/dehydrated-cron
parentChanging variable usage and quoting for 'git gc' options to fix git-repo-repa... (diff)
downloadservice-tools-ac22545e9243f1a12384b0f5c5362fc572c2d4c6.tar.xz
service-tools-ac22545e9243f1a12384b0f5c5362fc572c2d4c6.zip
Actually run dehydrated in dehydrated-cron.
Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
Diffstat (limited to 'dehydrated/bin/dehydrated-cron')
-rwxr-xr-xdehydrated/bin/dehydrated-cron3
1 files changed, 3 insertions, 0 deletions
diff --git a/dehydrated/bin/dehydrated-cron b/dehydrated/bin/dehydrated-cron
index 8264761..8e7904c 100755
--- a/dehydrated/bin/dehydrated-cron
+++ b/dehydrated/bin/dehydrated-cron
@@ -22,5 +22,8 @@
set -e
mkdir -p /var/log/dehydrated
+
+dehydrated -c >> /var/log/dehydrated/dehydrated.log
dehydrated -gcd >> /var/log/dehydrated/dehydrated.log
+
chown -R root:adm /var/log/dehydrated