mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-26 16:43:17 +01: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
|
||||
After=network.target
|
||||
[Service]
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=/usr/bin/npm start
|
||||
WorkingDirectory=/opt/zigbee2mqtt
|
||||
StandardOutput=inherit
|
||||
|
Loading…
Reference in New Issue
Block a user