From 87c6e2caf082fbc68b721b5384861b283c0d7582 Mon Sep 17 00:00:00 2001
From: Aaron LI <aly@aaronly.me>
Date: Mon, 9 Apr 2018 22:00:10 +0800
Subject: radicale: use full path to git; rotation log file

---
 roles/radicale/templates/config.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'roles/radicale/templates')

diff --git a/roles/radicale/templates/config.j2 b/roles/radicale/templates/config.j2
index ca5e251..182cad1 100644
--- a/roles/radicale/templates/config.j2
+++ b/roles/radicale/templates/config.j2
@@ -67,7 +67,7 @@ filesystem_folder = {{ radicale.home }}
 
 # Command that is run after changes to storage
 # See: http://radicale.org/versioning/
-hook = ([ -d .git ] || git init) && git add -A && (git diff --cached --quiet || git commit -m "Changes by "%(user)s)
+hook = ([ -d .git ] || /usr/local/bin/git init) && /usr/local/bin/git add -A && (/usr/local/bin/git diff --cached --quiet || /usr/local/bin/git commit -m "Changes by %(user)s")
 
 
 # Web interface backend
-- 
cgit v1.2.2