From 726a0d4c88fbddd02ada7329bb39abd06322458d Mon Sep 17 00:00:00 2001 From: pierreozoux <pierre@ozoux.net> Date: Thu, 8 Oct 2015 10:08:51 +0100 Subject: [PATCH] Do not automatically pull domains repo --- unit-files/git-puller.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unit-files/git-puller.service b/unit-files/git-puller.service index a151eb2..cf7a5a9 100644 --- a/unit-files/git-puller.service +++ b/unit-files/git-puller.service @@ -5,7 +5,7 @@ Description=Git pull on every git repo Type=oneshot TimeoutStartSec=0 ExecStart=/bin/bash -euxc ' \ - for directory in `find /data/domains/ -name .git -type d -prune -not -path "*/owncloud/data/*"`;do \ + for directory in `find /data/domains/ -mindepth 3 -name .git -type d -prune -not -path "*/owncloud/data/*"`;do \ cd $directory; cd ..;\ git pull; \ done' -- GitLab