diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-04-10 23:48:19 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-04-10 23:48:19 +0200 |
commit | d44ac82332abcdbeac0bc803b7ed69251fec5240 (patch) | |
tree | 1177f27a3e897af219be32db91be823f2f91374a | |
parent | d69e2ff4d2208c0cad7d701f1e338b69e09f2d7e (diff) |
finally got the incantation right
-rw-r--r-- | debian/taler-exchange-offline.taler-exchange-offline.service | 5 |
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' |