xoxys.zigbee2mqtt/templates/etc/systemd/system/zigbee2mqtt.service.j2
2018-11-11 03:49:59 +01:00

16 lines
270 B
Django/Jinja

# {{ ansible_managed }}
[Unit]
Description=zigbee2mqtt
After=network.target
[Service]
ExecStart=/usr/local/bin/npm start
WorkingDirectory={{ zigbee2mqtt_base_dir }}
StandardError=inherit
Restart=always
User={{ zigbee2mqtt_user }}
[Install]
WantedBy=multi-user.target