From f51e0fe2a915ad29396656177f300b24d86d00fc Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Fri, 9 Aug 2024 08:11:39 -0500 Subject: [PATCH] r/samba-dc: Enable auto-restart for samba.service Setting `RestartSec` is not enough to enable auto-restart; the `Restart` option is also required, as it defaults to `no`. --- roles/samba-dc/files/auto-restart.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/samba-dc/files/auto-restart.conf b/roles/samba-dc/files/auto-restart.conf index 3a7ace8..8264fbc 100644 --- a/roles/samba-dc/files/auto-restart.conf +++ b/roles/samba-dc/files/auto-restart.conf @@ -3,4 +3,5 @@ StartLimitIntervalSec=60 StartLimitBurst=10 [Service] +Restart=always RestartSec=10s