Moved PATH into service (#376)

This commit is contained in:
Paul 2024-11-20 20:21:41 +13:00 committed by GitHub
parent c63e1dc78a
commit bbd39fd927
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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