debmaker/ressources/zigbee2mqtt/rootfs/usr/lib/systemd/system/zigbee2mqtt.service
2022-03-22 22:24:15 +01:00

16 lines
304 B
Desktop File

[Unit]
Description=zigbee2mqtt
After=network.target
[Service]
EnvironmentFile=/etc/default/zigbee2mqtt
ExecStart=/usr/bin/npm start
WorkingDirectory=/usr/lib/zigbee2mqtt
StandardOutput=inherit
StandardError=inherit
Restart=always
User=zigbee2mqtt
Group=zigbee2mqtt
[Install]
WantedBy=multi-user.target