diff options
author | Tharre <tharre3@gmail.com> | 2018-08-05 21:09:07 +0200 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2018-11-17 16:41:40 +0100 |
commit | be9e20c2d2d8f9bb677056ca08e3f41e2b733333 (patch) | |
tree | ed27956aaf1a951973e591ff47b1ce3866808e01 /roles/grokmirror/templates/grokmirror.service | |
parent | 09ea09c02ea1f9b58d9966de848635c5d3c34800 (diff) | |
download | infrastructure-be9e20c2d2d8f9bb677056ca08e3f41e2b733333.tar.gz infrastructure-be9e20c2d2d8f9bb677056ca08e3f41e2b733333.tar.xz infrastructure-be9e20c2d2d8f9bb677056ca08e3f41e2b733333.zip |
Add grokmirror role
Diffstat (limited to 'roles/grokmirror/templates/grokmirror.service')
-rw-r--r-- | roles/grokmirror/templates/grokmirror.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/grokmirror/templates/grokmirror.service b/roles/grokmirror/templates/grokmirror.service new file mode 100644 index 0000000..88f6819 --- /dev/null +++ b/roles/grokmirror/templates/grokmirror.service @@ -0,0 +1,10 @@ +[Unit] +Description=Run grok-pull for mirroring + +[Service] +Type=oneshot +User={{ git_user }} +Group={{ git_group }} +# 127 = contents modified +SuccessExitStatus=127 +ExecStart=/usr/bin/grok-pull -p -c /etc/grokmirror/repos.conf |