aboutsummaryrefslogtreecommitdiffstats
path: root/roles/radicale/templates
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-04-09 22:00:10 +0800
committerAaron LI <aly@aaronly.me>2018-04-09 22:00:10 +0800
commit87c6e2caf082fbc68b721b5384861b283c0d7582 (patch)
treebf742856594839f8e81bc2ee807db8a84a040285 /roles/radicale/templates
parentab65c723c00717aad19549bde33ed26e6b441f5f (diff)
downloadansible-dfly-vps-87c6e2caf082fbc68b721b5384861b283c0d7582.tar.bz2
radicale: use full path to git; rotation log file
Diffstat (limited to 'roles/radicale/templates')
-rw-r--r--roles/radicale/templates/config.j22
1 files changed, 1 insertions, 1 deletions
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