1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=zigbee2mqtt After=network.target [Service] ExecStart=/usr/bin/npm start WorkingDirectory=/opt/zigbee2mqtt StandardOutput=inherit StandardError=inherit Restart=always User=zigbee2mqtt [Install] WantedBy=multi-user.target