From bd6ad331644db5492eabebf7820c59cee579c863 Mon Sep 17 00:00:00 2001 From: zhoupengcheng11 Date: Fri, 9 Jun 2023 18:39:39 +0800 Subject: [PATCH] provides reliability and self-healing capabilities for service (cherry picked from commit 5212828da2145cedfe59ea20c6c5479593cf3291) --- at.spec | 8 +++++++- atd.systemd | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/at.spec b/at.spec index 4b8d57b..a08ec89 100644 --- a/at.spec +++ b/at.spec @@ -1,6 +1,6 @@ Name: at Version: 3.2.2 -Release: 3 +Release: 4 Summary: A job manager License: GPLv3+, GPLv2+, ISC, MIT, Public Domain URL: http://ftp.debian.org/debian/pool/main/a/at @@ -124,6 +124,12 @@ chown root:root %{_localstatedir}/spool/at/.SEQ %{_mandir}/man*/* %changelog +* Fri Jun 9 2023 zhoupengcheng - 3.2.2-4 +- Type:bugfix +- CVE: +- SUG:NA +- DESC:provides reliability and self-healing capabilities for service + * Wed Nov 23 2022 fuanan - 3.2.2-3 - Type:bugfix - ID:NA diff --git a/atd.systemd b/atd.systemd index 962b0d0..27f85ec 100644 --- a/atd.systemd +++ b/atd.systemd @@ -6,6 +6,7 @@ After=syslog.target systemd-user-sessions.service [Service] EnvironmentFile=/etc/sysconfig/atd ExecStart=/usr/sbin/atd -f $OPTS +Restart=on-failure IgnoreSIGPIPE=no KillMode=process