summaryrefslogtreecommitdiffstats
path: root/dehydrated/bin/dehydrated-cron
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-28 19:14:24 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2021-09-28 19:14:24 +0000
commitd3df23408df01ab0d4ea7a5f67be8a35ae64ccb8 (patch)
tree2bba998fb933330adc086d6b523199ed61ca1a6e /dehydrated/bin/dehydrated-cron
parentAdding upstream version 20210926. (diff)
downloadopen-infrastructure-service-tools-d3df23408df01ab0d4ea7a5f67be8a35ae64ccb8.tar.xz
open-infrastructure-service-tools-d3df23408df01ab0d4ea7a5f67be8a35ae64ccb8.zip
Adding upstream version 20210928.upstream/20210928
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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