From bbd39fd927b0bede0e87b3a42fb4a50c03c48cfc Mon Sep 17 00:00:00 2001 From: Paul Date: Wed, 20 Nov 2024 20:21:41 +1300 Subject: [PATCH] Moved PATH into service (#376) --- install/linkwarden-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/linkwarden-install.sh b/install/linkwarden-install.sh index 97828933..ba706814 100644 --- a/install/linkwarden-install.sh +++ b/install/linkwarden-install.sh @@ -39,7 +39,6 @@ msg_ok "Installed Node.js/Yarn" msg_info "Installing Monolith" $STD cargo install monolith -echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc export PATH=~/.cargo/bin:$PATH msg_ok "Installed Monolith" @@ -117,6 +116,7 @@ After=network.target [Service] Type=exec +Environment=PATH=$PATH WorkingDirectory=/opt/linkwarden ExecStart=/usr/bin/yarn start