mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-18 04:21:17 +00:00
Update zigbee2mqtt-install.sh
Add NODE_ENV environment variable to run in production mode
This commit is contained in:
parent
bd59aa04a2
commit
40223c0106
@ -116,6 +116,7 @@ echo "[Unit]
|
|||||||
Description=zigbee2mqtt
|
Description=zigbee2mqtt
|
||||||
After=network.target
|
After=network.target
|
||||||
[Service]
|
[Service]
|
||||||
|
Environment=NODE_ENV=production
|
||||||
ExecStart=/usr/bin/npm start
|
ExecStart=/usr/bin/npm start
|
||||||
WorkingDirectory=/opt/zigbee2mqtt
|
WorkingDirectory=/opt/zigbee2mqtt
|
||||||
StandardOutput=inherit
|
StandardOutput=inherit
|
||||||
|
Loading…
Reference in New Issue
Block a user