diff --git a/cyrus-sasl.spec b/cyrus-sasl.spec index f0f6f0c42b7fe6f8f2943ecc419afbbe3a40c45c..f5a87e6295889f6de1074adb4b4fa5835a1c6861 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 04605504a71531c604d57a25466c9199b3739129..436c8358ab69d6e797b1952ce76fcc65cd54775d 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