Apparently for env, %d is needed, not $CRED_DIR.
See: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LoadCredential=ID:PATH
This commit is contained in:
parent
74fd327208
commit
3ec45f571f
|
@ -63,7 +63,7 @@ in {
|
||||||
environment = {
|
environment = {
|
||||||
PRICEBOT_EXCHANGE_HOST = cfg.exchange-host;
|
PRICEBOT_EXCHANGE_HOST = cfg.exchange-host;
|
||||||
PRICEBOT_BEBOT_URL = cfg.mattermost-url;
|
PRICEBOT_BEBOT_URL = cfg.mattermost-url;
|
||||||
PRICEBOT_BEBOT_AUTH_TOKEN_FILE = "$CREDENTIALS_DIRECTORY/auth.token";
|
PRICEBOT_BEBOT_AUTH_TOKEN_FILE = "%d/auth.token";
|
||||||
PRICEBOT_BEBOT_CHANNEL_ID = opts.mattermost-channel-id;
|
PRICEBOT_BEBOT_CHANNEL_ID = opts.mattermost-channel-id;
|
||||||
PRICEBOT_TARGET_CURRENCY = opts.currency;
|
PRICEBOT_TARGET_CURRENCY = opts.currency;
|
||||||
PRICEBOT_NOTIFY_USER = opts.notify-user;
|
PRICEBOT_NOTIFY_USER = opts.notify-user;
|
||||||
|
|
Loading…
Reference in New Issue