mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Fix node red executable path in service file per host OS
This commit is contained in:
		
							parent
							
								
									cdbbfecf63
								
							
						
					
					
						commit
						b534ecdf56
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -3,7 +3,11 @@ Description=Node-RED
 | 
			
		|||
After=syslog.target network.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
{% if is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17 %}
 | 
			
		||||
ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v
 | 
			
		||||
{% else %}
 | 
			
		||||
ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
 | 
			
		||||
{% endif %}
 | 
			
		||||
Restart=on-failure
 | 
			
		||||
KillSignal=SIGINT
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue