From 1020e63fb8f3dc6061945fc39493389c880b5b6d Mon Sep 17 00:00:00 2001 From: niten Date: Mon, 20 Jun 2022 11:29:44 -0700 Subject: [PATCH] Let's see if either of these env vars are set --- module.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/module.nix b/module.nix index 881b3c7..17be6c2 100644 --- a/module.nix +++ b/module.nix @@ -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;