roles/hap-nodejs/templates/hap-nodejs.service.j2
changeset 0 30d8bcb1ebb4
equal deleted inserted replaced
-1:000000000000 0:30d8bcb1ebb4
       
     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