diff --git a/unit-files/git-puller.service b/unit-files/git-puller.service index a03715a029901472809829b93c8ccfcc49f766f3..0d123ae53ab00e9cb56bd078ebfd0fb1f14e9ac3 100644 --- a/unit-files/git-puller.service +++ b/unit-files/git-puller.service @@ -6,7 +6,7 @@ Type=oneshot TimeoutStartSec=0 ExecStart=/bin/bash -euxc ' \ for directory in `find /data/domains/ -name .git -type d -prune`;do \ - cd $directory; \ + cd $directory; cd ..;\ git pull; \ done'