xoxys.zigbee2mqtt/templates/etc/systemd/system/zigbee2mqtt.service.j2
Robert Kaussow e4a509776e
Some checks failed
continuous-integration/drone/push Build is failing
add configuration template
2019-08-08 13:50:15 +02:00

17 lines
306 B
Django/Jinja

#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
[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