summarylogtreecommitdiffstats
path: root/btc-cirrus-reporter.service
diff options
context:
space:
mode:
authorDouglas Chimento2022-01-14 14:33:59 +0200
committerDouglas Chimento2022-01-14 14:33:59 +0200
commit29e08448d7476e18fa7e31c9b21ed1fa71c03df8 (patch)
tree35d69d9d56334651a1d330118ad0aa7611da9c13 /btc-cirrus-reporter.service
downloadaur-29e08448d7476e18fa7e31c9b21ed1fa71c03df8.tar.gz
initial version
Diffstat (limited to 'btc-cirrus-reporter.service')
-rw-r--r--btc-cirrus-reporter.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/btc-cirrus-reporter.service b/btc-cirrus-reporter.service
new file mode 100644
index 000000000000..58ab739b4dba
--- /dev/null
+++ b/btc-cirrus-reporter.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=bitcoin core cirrus ci reporter
+After=postgresql.service
+
+[Service]
+Type=oneshot
+EnvironmentFile=/etc/default/btc-cirrus-reporter
+ExecStart=/usr/sbin/btc-cirrus-reporter sync --dsn $BTC_CIRRUS_DSN --token $CIRRUS_TOKEN
+
+[Install]
+WantedBy=multi-user.target