1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Instead of PR #1432 (using nodesource to install Node.js simplifies)

This commit is contained in:
A Holt 2019-01-29 23:32:29 -05:00 committed by GitHub
parent 1d42929962
commit bb72eea384
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,11 +3,12 @@ Description=Node-RED
After=syslog.target network.target After=syslog.target network.target
[Service] [Service]
{% if is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17 %} # {% if is_debian_8 or is_debian_9 or is_ubuntu_16 or is_ubuntu_17 %}
# {% if is_debuntu %}
ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v
{% 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
{% endif %} # {% endif %}
Restart=on-failure Restart=on-failure
KillSignal=SIGINT KillSignal=SIGINT