compose-website/unit-files/git-puller.service

13 lines
236 B
SYSTEMD
Raw Normal View History

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