debmaker/ressources/zigbee2mqtt/rootfs/etc/systemd/system/zigbee2mqtt.service

17 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