Ver código fonte

[api] fix du fichier service pour qu'il requiert pyheatpump_supervise.timer d'être activé

Maxime Alves LIRMM@home 3 anos atrás
pai
commit
ed0acf3ffd
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2
    1
      config/pyheatpump_api.service

+ 2
- 1
config/pyheatpump_api.service Ver arquivo

@@ -1,10 +1,11 @@
1 1
 [Unit]
2 2
 Description=API to fetch data from heatpump with HTTP
3 3
 After=network.target
4
+Requires=pyheatpump_supervise.timer
4 5
 
5 6
 [Service]
6 7
 Type=simple
7
-WorkingDirectory=/var/run/pyheatpump/
8
+WorkingDirectory=/var/lib/pyheatpump/
8 9
 Environment="LOGLEVEL=INFO"
9 10
 ExecStart=/usr/bin/env pyheatpump run
10 11
 KillMode=mixed

Carregando…
Cancelar
Salvar