From fe6daf0324d7706e188f812e475a4ee276c6ad47 Mon Sep 17 00:00:00 2001 From: markeryang Date: Sat, 22 Oct 2022 15:55:06 +0800 Subject: [PATCH] Adding Patching Operations;provides relibility and self-healing capabilities for service --- at.spec | 12 +++++++++--- atd.systemd | 1 + 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/at.spec b/at.spec index 4f03b56..af7a9ca 100644 --- a/at.spec +++ b/at.spec @@ -1,6 +1,6 @@ Name: at Version: 3.2.2 -Release: 1 +Release: 2 Summary: A job manager License: GPLv3+, GPLv2+, ISC, MIT, Public Domain URL: http://ftp.debian.org/debian/pool/main/a/at @@ -39,9 +39,8 @@ AT and batch delay command scheduling utility and daemon. %package_help %prep -%setup -q +%autosetup -n %{name}-%{version} -p1 cp %{SOURCE1} . -%{lua:for i=0,16 do print(string.format("%%patch%u -p1\n", i)) end} %build autoconf @@ -125,6 +124,13 @@ chown root:root %{_localstatedir}/spool/at/.SEQ %{_mandir}/man*/* %changelog +* Sat Oct 22 2022 yanglongkang - 3.2.2-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:Adding Patching Operations + provides relibility and self-healing capabilities for service + * Sat Dec 25 2021 yangzhuangzhuang - 3.2.2-1 - Type:update - 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