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:
parent
03e9fb6da1
commit
b063d0333f
1 changed files with 4 additions and 5 deletions
|
@ -3,12 +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_debuntu %}
|
||||
# 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
|
||||
ExecStart=/usr/bin/node-red-pi --max-old-space-size=128 -v
|
||||
# {% else %}
|
||||
# Ansible template HAD: else
|
||||
# ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
|
||||
# {% endif %}
|
||||
# Ansible template HAD: endif
|
||||
Restart=on-failure
|
||||
KillSignal=SIGINT
|
||||
|
||||
|
@ -23,4 +23,3 @@ Group=nodered
|
|||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue