speed up restart to 1s master
authorDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 30 Oct 2020 09:18:27 +0000 (10:18 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Fri, 30 Oct 2020 09:18:27 +0000 (10:18 +0100)
system/air-mh-z19b.service

index 3a351ea..fd6e52e 100644 (file)
@@ -5,7 +5,7 @@ Description=Air
 User=pi
 ExecStart=/home/pi/air-quality/mh-z19b.pl
 Restart=always
-RestartSec=3s
+RestartSec=1s
 
 [Install]
 WantedBy=multi-user.target