From dbeab33e40aee56be934953f468b0a486830790a Mon Sep 17 00:00:00 2001 From: yixiangzhike Date: Tue, 20 Sep 2022 15:32:18 +0800 Subject: [PATCH] saslauthd always restart with 1s Signed-off-by: yixiangzhike (cherry picked from commit b8ccfd75fdfeb3348f317b547c90a830204fd11c) --- cyrus-sasl.spec | 5 ++++- saslauthd.service | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index f0f6f0c..f5a87e6 100644 --- a/cyrus-sasl.spec +++ b/cyrus-sasl.spec @@ -6,7 +6,7 @@ Name: cyrus-sasl Version: 2.1.27 -Release: 14 +Release: 15 Summary: The Cyrus SASL API Implementation License: BSD with advertising @@ -264,6 +264,9 @@ getent passwd %{username} >/dev/null || useradd -r -g %{username} -d %{homedir} %changelog +* Tue Sep 20 2022 yixiangzhike - 2.1.27-15 +- saslauthd always restart with 1s + * Fri May 20 2022 yixiangzhike - 2.1.27-14 - compatible with autoconf-2.71 diff --git a/saslauthd.service b/saslauthd.service index 0460550..436c835 100644 --- a/saslauthd.service +++ b/saslauthd.service @@ -6,6 +6,8 @@ Type=forking EnvironmentFile=/etc/sysconfig/saslauthd ExecStart=/usr/sbin/saslauthd -m /run/saslauthd -a pam $FLAGS RuntimeDirectory=saslauthd +Restart=always +RestartSec=1s [Install] WantedBy=multi-user.target -- Gitee