roles/hap-nodejs/templates/hap-nodejs.service.j2
author Luke Hoersten <luke@hoersten.org>
Mon, 30 Jul 2018 21:19:20 -0500
changeset 21 6ad3cf1d57c3
parent 0 30d8bcb1ebb4
permissions -rw-r--r--
Nodejs-legacy ubuntu package removed.

# {{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