mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update node-red.service.j2
This commit is contained in:
		
							parent
							
								
									688427ddf5
								
							
						
					
					
						commit
						786ccef904
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -5,10 +5,12 @@ After=syslog.target network.target
 | 
				
			||||||
[Service]
 | 
					[Service]
 | 
				
			||||||
# Ansible template HAD: if is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17
 | 
					# Ansible template HAD: if is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17
 | 
				
			||||||
# Ansible template HAD: if is_debuntu
 | 
					# Ansible template HAD: if is_debuntu
 | 
				
			||||||
 | 
					{% if is_rpi %}
 | 
				
			||||||
ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v
 | 
					ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v
 | 
				
			||||||
# Ansible template HAD: else
 | 
					{% else %}
 | 
				
			||||||
# ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
 | 
					# ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
 | 
				
			||||||
# Ansible template HAD: endif
 | 
					ExecStart=/usr/bin/node-red-pi -v
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
Restart=on-failure
 | 
					Restart=on-failure
 | 
				
			||||||
KillSignal=SIGINT
 | 
					KillSignal=SIGINT
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue