roles/hap-nodejs/templates/hap-nodejs.service.j2
changeset 26 87ddaf81e63c
parent 25 bc6c646f1814
child 27 df47a99d5bfc
equal deleted inserted replaced
25:bc6c646f1814 26:87ddaf81e63c
     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