changeset 2 | 2556522a2a45 |
parent 0 | df042396074e |
1:fd351734f007 | 2:2556522a2a45 |
---|---|
1 # {{ansible_managed}} |
|
2 |
|
3 [Unit] |
|
4 Description=Homebridge |
|
5 |
|
6 [Service] |
|
7 User={{homebridge_user}} |
|
8 Group={{homebridge_user}} |
|
9 Restart=always |
|
10 RestartSec={{homebridge_restart_sec}} |
|
11 |
|
12 WorkingDirectory={{homebridge_dir}} |
|
13 ExecStart=/usr/bin/node /opt/{{nodejs_dir}}/bin/homebridge -U {{homebridge_dir}} |
|
14 |
|
15 [Install] |
|
16 WantedBy=default.target |