mirror of https://github.com/tteck/Proxmox.git
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
|
||||
After=network.target
|
||||
[Service]
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/usr/bin/npm start
|
||||
WorkingDirectory=/opt/zigbee2mqtt
|
||||
StandardOutput=inherit
|
||||
|
|
Loading…
Reference in New Issue