aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/taler-exchange-offline.taler-exchange-offline.service5
1 files changed, 2 insertions, 3 deletions
diff --git a/debian/taler-exchange-offline.taler-exchange-offline.service b/debian/taler-exchange-offline.taler-exchange-offline.service
index 506914dc8..bd1b93bb3 100644
--- a/debian/taler-exchange-offline.taler-exchange-offline.service
+++ b/debian/taler-exchange-offline.taler-exchange-offline.service
@@ -18,7 +18,6 @@ StandardOutput=journal
StandardError=journal
PrivateTmp=yes
PrivateDevices=yes
-Environment="FIAT_CURRENCY=CHF"
-Environment="REGIO_CURRENCY=NETZBON"
-ExecStart=bash -c 'taler-exchange-offline download sign wire-fee now iban "${FIAT_CURRENCY}":0 "${FIAT_CURRENCY}":0 wire-fee now x-taler-bank "${REGIO_CURRENCY}":0 "${REGIO_CURRENCY}":0 global-fee now "${REGIO_CURRENCY}:0" "${REGIO_CURRENCY}:0" "${REGIO_CURRENCY}:0" 4weeks 6years 4 upload'
+Environment="REGIO_CURRENCY=$(taler-config -s taler -o CURRENCY)"
+ExecStart=bash -c 'taler-exchange-offline download sign wire-fee now iban "${REGIO_CURRENCY}":0 "${REGIO_CURRENCY}":0 wire-fee now x-taler-bank "${REGIO_CURRENCY}":0 "${REGIO_CURRENCY}":0 global-fee now "${REGIO_CURRENCY}:0" "${REGIO_CURRENCY}:0" "${REGIO_CURRENCY}:0" 4weeks 6years 4 upload'