diff options
| author | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-08-11 17:12:27 +0200 |
|---|---|---|
| committer | Pierre-Yves Chibon <pingou@pingoured.fr> | 2017-08-11 17:13:07 +0200 |
| commit | 40e85a778a8718f44bc5fcd35797443b900cd9c5 (patch) | |
| tree | 160acc479cdc1963b77c432f64e8158ddf6c01cf /roles/rdbsync/templates | |
| parent | d5317702bd7baef90ea53e03ed63e1ee770ba611 (diff) | |
| download | ansible-40e85a778a8718f44bc5fcd35797443b900cd9c5.tar.gz ansible-40e85a778a8718f44bc5fcd35797443b900cd9c5.tar.xz ansible-40e85a778a8718f44bc5fcd35797443b900cd9c5.zip | |
Let me introduce you to the rdbsync role
Diffstat (limited to 'roles/rdbsync/templates')
| -rw-r--r-- | roles/rdbsync/templates/rdbsync.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/roles/rdbsync/templates/rdbsync.service b/roles/rdbsync/templates/rdbsync.service new file mode 100644 index 000000000..9b643ece7 --- /dev/null +++ b/roles/rdbsync/templates/rdbsync.service @@ -0,0 +1,14 @@ +[Unit] +Description=A script to sync CentOS CI ResultsDB to Fedora +After=network.target +Documentation=https://github.com/jeremycline/rdbsync + +[Service] +ExecStart=/usr/bin/rdbsync run --log-level=INFO --poll-interval=30 \ + --centos-url http://resultsdb.ci.centos.org/resultsdb_api/api \ + --fedora-url http://localhost/resultsdb_api/ +Type=simple +Restart=on-failure + +[Install] +WantedBy=multi-user.target |
