summarylogtreecommitdiffstats
path: root/nodejs-node-red.service
blob: 411fa5abf284fdcb6b29733a0c80d45da757fd7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Node-RED graphical event wiring tool
Wants=network.target
Documentation=https://nodered.org/docs/

[Service]
Type=simple
User=nodejs-node-red
Group=nodejs-node-red
WorkingDirectory=/var/lib/nodejs-node-red
EnvironmentFile=/etc/default/nodejs-node-red
ExecStart=/usr/bin/node-red ${NODE_OPTIONS} ${NODE_RED_OPTIONS}
KillSignal=SIGINT
Restart=on-failure

[Install]
WantedBy=multi-user.target