Let's see if either of these env vars are set

This commit is contained in:
niten 2022-06-20 11:29:44 -07:00
parent d0b2329ced
commit 1020e63fb8
1 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,11 @@ in {
PRICEBOT_NOTIFY_USER = opts.notify-user;
};
serviceConfig = {
ExecStart = "${pricebot}/bin/pricebot";
ExecStart = ''
echo $CREDENTIALS_DIRECTORY
echo $CREDENTIALS_PATH
${pricebot}/bin/pricebot
'';
DynamicUser = true;
PrivateTmp = true;
PrivateDevices = true;