Commit
3466364ded4e00a2648361b9032e487e3534e738
add 5 second sleep on service restarts to prevent flailing while influxdb is down
Showing
3 changed files
with
3 additions
and
0 deletions
Side-by-side Diff
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
ExecStart=python /path/to/repo/DI-1000U-monitor.py |
10
|
10 |
WorkingDirectory=/path/to/repo |
11
|
11 |
Restart=always |
|
12 |
+RestartSec=5 |
12
|
13 |
StandardOutput=journal |
13
|
14 |
StandardError=journal |
14
|
15 |
|
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
ExecStart=python /path/to/repo/flow-meter-monitor.py |
10
|
10 |
WorkingDirectory=/path/to/repo |
11
|
11 |
Restart=always |
|
12 |
+RestartSec=5 |
12
|
13 |
StandardOutput=journal |
13
|
14 |
StandardError=journal |
14
|
15 |
|
... |
... |
@@ -9,6 +9,7 @@ |
9
|
9 |
ExecStart=python /path/to/repo/tc08-monitor.py |
10
|
10 |
WorkingDirectory=/path/to/repo |
11
|
11 |
Restart=always |
|
12 |
+RestartSec=5 |
12
|
13 |
StandardOutput=journal |
13
|
14 |
StandardError=journal |
14
|
15 |
|