Browse Source

[systemd] update des timers

Maxime Alves LIRMM@home 3 years ago
parent
commit
b8aaaebb42
2 changed files with 4 additions and 3 deletions
  1. 1
    1
      config/pyheatpump_supervise.service
  2. 3
    2
      config/pyheatpump_supervise.timer

+ 1
- 1
config/pyheatpump_supervise.service View File

8
 Environment="LOGLEVEL=INFO"
8
 Environment="LOGLEVEL=INFO"
9
 ExecStart=/usr/bin/env pyheatpump supervise --since
9
 ExecStart=/usr/bin/env pyheatpump supervise --since
10
 KillMode=mixed
10
 KillMode=mixed
11
-TimeoutStopSec=300sec
11
+TimeoutStopSec=30sec
12
 PrivateTmp=true
12
 PrivateTmp=true

+ 3
- 2
config/pyheatpump_supervise.timer View File

2
 Description=Timer to launch pyheatpump supervise every minute
2
 Description=Timer to launch pyheatpump supervise every minute
3
 
3
 
4
 [Timer]
4
 [Timer]
5
-OnStartSec=15sec
6
-OnUnitInactiveSec=1m
5
+OnStartupSec=10sec
6
+OnUnitInactiveSec=5s
7
+AccuracySec=10s
7
 
8
 
8
 [Install]
9
 [Install]
9
 WantedBy=timers.target
10
 WantedBy=timers.target

Loading…
Cancel
Save