summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.txt8
-rw-r--r--VERSION.txt2
-rwxr-xr-xdehydrated/bin/dehydrated-cron3
-rwxr-xr-xgit/bin/git-repo-repack2
4 files changed, 13 insertions, 2 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt
index 8a26178..cf850f3 100644
--- a/CHANGELOG.txt
+++ b/CHANGELOG.txt
@@ -1,3 +1,11 @@
+2021-09-28 Daniel Baumann <daniel.baumann@open-infrastructure.net>
+
+ * Releasing version 20210928.
+
+ [ Daniel Baumann ]
+ * Changing variable usage and quoting for 'git gc' options to fix git-repo-repack with newer git versions.
+ * Actually run dehydrated in dehydrated-cron.
+
2021-09-26 Daniel Baumann <daniel.baumann@open-infrastructure.net>
* Releasing version 20210926.
diff --git a/VERSION.txt b/VERSION.txt
index c2d5f99..fbdb929 100644
--- a/VERSION.txt
+++ b/VERSION.txt
@@ -1 +1 @@
-20210926
+20210928
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
diff --git a/git/bin/git-repo-repack b/git/bin/git-repo-repack
index 0d3c106..58f909d 100755
--- a/git/bin/git-repo-repack
+++ b/git/bin/git-repo-repack
@@ -51,7 +51,7 @@ do
cd "${REPOSITORY}"
git repack "${GIT_REPACK_OPTIONS}" -a -b -d -f -F
- git gc "${GIT_GC_OPTIONS}" --aggressive --prune
+ git gc --aggressive --prune ${GIT_GC_OPTIONS}
cd "${OLDPWD}"
if [ "$(id -u)" -eq "0" ]