summarylogtreecommitdiffstats
path: root/zigbee2mqtt.service
blob: c212e173b33a859920bb9d0e21fac1fe42295f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=zigbee2mqtt
After=network.target

[Service]
ExecStart=node index.js
Environment=ZIGBEE2MQTT_DATA=/var/lib/zigbee2mqtt
WorkingDirectory=/usr/lib/node_modules/zigbee2mqtt
StandardOutput=inherit
StandardError=inherit
Restart=always
User=zigbee2mqtt

[Install]
WantedBy=multi-user.target