diff options
Diffstat (limited to 'btc-cirrus-reporter.service')
-rw-r--r-- | btc-cirrus-reporter.service | 11 |
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 |