roles/hap-nodejs/templates/hap-nodejs.service.j2
author Luke Hoersten <luke@hoersten.org>
Thu, 01 Mar 2018 17:14:13 -0600
changeset 18 3044f32e7f74
parent 0 30d8bcb1ebb4
permissions -rw-r--r--
Broke out separate hap-door role from hap-nodejs.

# {{ansible_managed}}

[Unit]
Description=HAP-NodeJS

[Service]
User={{hap_user}}
Group={{hap_user}}
Restart=always
RestartSec={{hap_restart_sec}}

WorkingDirectory={{hap_dest}}
ExecStart=/usr/bin/node {{hap_dest}}/Core.js

[Install]
WantedBy=default.target