diff options
Diffstat (limited to 'system/netdata.service.in')
-rw-r--r-- | system/netdata.service.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/system/netdata.service.in b/system/netdata.service.in index 6bbb84eb5f..d3b1d883d5 100644 --- a/system/netdata.service.in +++ b/system/netdata.service.in @@ -11,5 +11,9 @@ ExecStart=@sbindir_POST@/netdata -D # saving a big db on slow disks may need some time TimeoutStopSec=60 +# restart netdata if it crashes +Restart=on-failure +RestartSec=30 + [Install] WantedBy=multi-user.target |