mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-01-27 11:06:18 +00:00
Moved PATH into service (#376)
This commit is contained in:
parent
c63e1dc78a
commit
bbd39fd927
@ -39,7 +39,6 @@ msg_ok "Installed Node.js/Yarn"
|
|||||||
|
|
||||||
msg_info "Installing Monolith"
|
msg_info "Installing Monolith"
|
||||||
$STD cargo install monolith
|
$STD cargo install monolith
|
||||||
echo 'export PATH=~/.cargo/bin:$PATH' >>~/.bashrc
|
|
||||||
export PATH=~/.cargo/bin:$PATH
|
export PATH=~/.cargo/bin:$PATH
|
||||||
msg_ok "Installed Monolith"
|
msg_ok "Installed Monolith"
|
||||||
|
|
||||||
@ -117,6 +116,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=exec
|
Type=exec
|
||||||
|
Environment=PATH=$PATH
|
||||||
WorkingDirectory=/opt/linkwarden
|
WorkingDirectory=/opt/linkwarden
|
||||||
ExecStart=/usr/bin/yarn start
|
ExecStart=/usr/bin/yarn start
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user