mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
22 lines
387 B
Text
22 lines
387 B
Text
|
[Unit]
|
||
|
Description=Node-RED
|
||
|
After=syslog.target network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/bin/node-red-pi --max-old-space-size=128 -v
|
||
|
Restart=on-failure
|
||
|
KillSignal=SIGINT
|
||
|
|
||
|
# log output to syslog as 'node-red'
|
||
|
SyslogIdentifier=node-red
|
||
|
StandardOutput=syslog
|
||
|
|
||
|
# non-root user to run as
|
||
|
WorkingDirectory=/home/nodered/
|
||
|
User=nodered
|
||
|
Group=nodered
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|