compose-website/unit-files/git-puller.service
pierreozoux 232a75a1c1 typo
2015-02-18 14:02:43 +00:00

12 lines
236 B
Desktop File

[Unit]
Description=Git pull on every git repo
[Service]
Type=oneshot
TimeoutStartSec=0
ExecStart=/bin/bash -euxc ' \
for directory in `find /data/domains/ -name .git -type d -prune`;do \
cd $directory; \
git pull; \
done'