Try just specifying the file name
This commit is contained in:
parent
67f33d2916
commit
c5f2a7cdde
|
@ -62,13 +62,14 @@ 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 = "%d/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;
|
||||||
};
|
};
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
ExecStart = "${pricebot}/bin/pricebot";
|
ExecStart =
|
||||||
|
"${pricebot}/bin/pricebot \${CREDENTIALS_DIRECTORY}/auth.token";
|
||||||
DynamicUser = true;
|
DynamicUser = true;
|
||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
PrivateDevices = true;
|
PrivateDevices = true;
|
||||||
|
|
Loading…
Reference in New Issue