Skip to content
Snippets Groups Projects
git-puller.service 273 B
Newer Older
[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 -not -path "*/owncloud/data/*"`;do \
Pierre Ozoux's avatar
Pierre Ozoux committed
    cd $directory; cd ..;\