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:
parent
1d42929962
commit
bb72eea384
1 changed files with 5 additions and 4 deletions
|
@ -3,11 +3,12 @@ Description=Node-RED
|
|||
After=syslog.target network.target
|
||||
|
||||
[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
|
||||
{% else %}
|
||||
ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
|
||||
{% endif %}
|
||||
# {% else %}
|
||||
# ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
|
||||
# {% endif %}
|
||||
Restart=on-failure
|
||||
KillSignal=SIGINT
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue