diff --git a/unit-files/git-puller.service b/unit-files/git-puller.service index a151eb2a1949f2ad66ebfd05442af5f6c1d28462..cf7a5a9bf8a1d2554cf414ec74182ae06a949da5 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'