1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=zigbee2mqtt After=network.target [Service] ExecStart=node /usr/lib/node_modules/zigbee2mqtt/index.js Environment=ZIGBEE2MQTT_DATA=/var/lib/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=zigbee2mqtt [Install] WantedBy=multi-user.target