1
0
Fork 0
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:
A Holt 2019-02-12 17:50:01 -05:00 committed by GitHub
parent 688427ddf5
commit 786ccef904
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,10 +5,12 @@ After=syslog.target network.target
[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_debuntu
{% if is_rpi %}
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
# Ansible template HAD: endif
ExecStart=/usr/bin/node-red-pi -v
{% endif %}
Restart=on-failure
KillSignal=SIGINT