From 0678b690ef29e32361b4e314303fbb506894c222 Mon Sep 17 00:00:00 2001 From: Kim Neunert Date: Sat, 11 Apr 2020 18:15:19 +0200 Subject: [PATCH] include .specter/.env/bin to path in systemd-service of specter At least in version 0.2.0 and maybe also in others, the hwi-executable must be on the path for specter, otherwise hwi won't work, at least on my box. --- home.admin/config.scripts/bonus.cryptoadvance-specter.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/bonus.cryptoadvance-specter.sh b/home.admin/config.scripts/bonus.cryptoadvance-specter.sh index 53a71bfb7..990a35dbb 100755 --- a/home.admin/config.scripts/bonus.cryptoadvance-specter.sh +++ b/home.admin/config.scripts/bonus.cryptoadvance-specter.sh @@ -213,7 +213,7 @@ After=${network}d.service [Service] ExecStart=/home/bitcoin/.specter/.env/bin/python3 -m cryptoadvance.specter server --host 0.0.0.0 --cert=/home/bitcoin/.specter/cert.pem --key=/home/bitcoin/.specter/key.pem User=bitcoin -Environment=PATH=/home/bitcoin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/bin +Environment=PATH=/home/bitcoin/.specter/.env/bin:/home/bitcoin/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/bin Restart=always TimeoutSec=120 RestartSec=30