diff --git a/setup/zigbee2mqtt-install.sh b/setup/zigbee2mqtt-install.sh index 8631ec2a..7b8e283d 100644 --- a/setup/zigbee2mqtt-install.sh +++ b/setup/zigbee2mqtt-install.sh @@ -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