Skip to content
Snippets Groups Projects
Commit f6f58c82 authored by Pierre Ozoux's avatar Pierre Ozoux
Browse files

One git puller to rule them all! closes #25

parent c6866d13
No related branches found
No related tags found
No related merge requests found
[Unit]
Description=Git pull on every git repo
[Service]
Type=oneshot
TimeoutStartSec=0
ExecStart=/bin/bash -euxc ' \
for directory in `find /data/domaians/ -name .git -type d -prune`;do \
cd $directory; \
git pull; \
done'
[Unit]
Description=Git pull every 5 minutes
[Timer]
OnUnitActiveSec=5min
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment