mirror of
				https://github.com/iiab/iiab.git
				synced 2025-03-09 15:40:17 +00:00 
			
		
		
		
	Update and rename node-red.service.j2 to nodered.service.j2
This commit is contained in:
		
							parent
							
								
									c777f8be2f
								
							
						
					
					
						commit
						e519410e4c
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		| 
						 | 
					@ -19,9 +19,15 @@ SyslogIdentifier=node-red
 | 
				
			||||||
StandardOutput=syslog
 | 
					StandardOutput=syslog
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# non-root user to run as
 | 
					# non-root user to run as
 | 
				
			||||||
 | 
					{% if is_rpi %}
 | 
				
			||||||
 | 
					WorkingDirectory=/home/pi/
 | 
				
			||||||
 | 
					User=pi
 | 
				
			||||||
 | 
					Group=pi
 | 
				
			||||||
 | 
					{% else %}
 | 
				
			||||||
WorkingDirectory=/home/nodered/
 | 
					WorkingDirectory=/home/nodered/
 | 
				
			||||||
User=nodered
 | 
					User=nodered
 | 
				
			||||||
Group=nodered
 | 
					Group=nodered
 | 
				
			||||||
 | 
					{% endif %}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[Install]
 | 
					[Install]
 | 
				
			||||||
WantedBy=multi-user.target
 | 
					WantedBy=multi-user.target
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue