xoxys.zigbee2mqtt/templates/etc/systemd/system/zigbee2mqtt.service.j2

17 lines
306 B
Plaintext
Raw Normal View History

2019-08-08 11:50:15 +00:00
#jinja2:lstrip_blocks: True
{{ ansible_managed | comment }}
2018-11-11 02:11:10 +00:00
[Unit]
Description=zigbee2mqtt
After=network.target
[Service]
2018-11-11 02:34:13 +00:00
ExecStart=/usr/local/bin/npm start
2018-11-11 02:49:59 +00:00
WorkingDirectory={{ zigbee2mqtt_base_dir }}
2018-11-11 02:11:10 +00:00
StandardError=inherit
Restart=always
User={{ zigbee2mqtt_user }}
[Install]
WantedBy=multi-user.target