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,5 +8,5 @@ WorkingDirectory=/var/lib/pyheatpump/
8 8
 Environment="LOGLEVEL=INFO"
9 9
 ExecStart=/usr/bin/env pyheatpump supervise --since
10 10
 KillMode=mixed
11
-TimeoutStopSec=300sec
11
+TimeoutStopSec=30sec
12 12
 PrivateTmp=true

+ 3
- 2
config/pyheatpump_supervise.timer View File

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

Loading…
Cancel
Save