2018-11-11 02:11:10 +00:00
|
|
|
# {{ ansible_managed }}
|
|
|
|
|
|
|
|
[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
|