From d44ac82332abcdbeac0bc803b7ed69251fec5240 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 10 Apr 2024 23:48:19 +0200 Subject: finally got the incantation right --- debian/taler-exchange-offline.taler-exchange-offline.service | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'debian') 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' -- cgit v1.2.3