debmaker/ressources/zigbee2mqtt/rootfs/usr/lib/systemd/system/zigbee2mqtt.service

17 lines
304 B
SYSTEMD
Raw Permalink Normal View History

2022-02-03 22:51:24 +01:00
[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