restart netdata on-failure; fixes #2617
Costa Tsaousis (ktsaou) committed
Aug 22, 2017 at 17:58 UTC
c3f7536388801c13650b2128fd469360e180a47b
1 file changed
+4
system/netdata.service.in
+4
@@ -11,5 +11,9 @@ ExecStart=@sbindir_POST@/netdata -D
11
# saving a big db on slow disks may need some time
12
TimeoutStopSec=60
13
14
+# restart netdata if it crashes
15
+Restart=on-failure
16
+RestartSec=30
17
+
18
[Install]
19
WantedBy=multi-user.target