mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Moved PATH into service (#376)
This commit is contained in:
		@@ -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
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user