1
0
Fork 0
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:
A Holt 2019-02-13 01:02:04 -05:00 committed by GitHub
parent c777f8be2f
commit e519410e4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,9 +19,15 @@ SyslogIdentifier=node-red
StandardOutput=syslog
# non-root user to run as
{% if is_rpi %}
WorkingDirectory=/home/pi/
User=pi
Group=pi
{% else %}
WorkingDirectory=/home/nodered/
User=nodered
Group=nodered
{% endif %}
[Install]
WantedBy=multi-user.target