1
# {{ansible_managed}}
2
3
[Unit]
4
Description=HAP-NodeJS
5
6
[Service]
7
User={{hap_user}}
8
Group={{hap_user}}
9
Restart=always
10
RestartSec={{hap_restart_sec}}
11
12
WorkingDirectory={{hap_dest}}
13
ExecStart=/usr/bin/node {{hap_dest}}/Core.js
14
15
[Install]
16
WantedBy=default.target