!26 add-Restart-on-failure-on-firewalld.service.patch
Merge pull request !26 from yangl777/openEuler-20.03-LTS-SP3
This commit is contained in:
commit
f7ba85af72
23
add-Restart-on-failure-on-firewalld.service.patch
Normal file
23
add-Restart-on-failure-on-firewalld.service.patch
Normal file
@ -0,0 +1,23 @@
|
||||
From 63fe76dfcaad171c1eaa8c13ccae1f5b5c98d110 Mon Sep 17 00:00:00 2001
|
||||
From: hanzhijun <hanzhijun1@huawei.com>
|
||||
Date: Fri, 18 Sep 2020 09:46:37 +0800
|
||||
Subject: [PATCH] add Restart=on-failure on firewalld.service
|
||||
|
||||
---
|
||||
config/firewalld.service.in | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/config/firewalld.service.in b/config/firewalld.service.in
|
||||
index b757a08..4cfed7c 100644
|
||||
--- a/config/firewalld.service.in
|
||||
+++ b/config/firewalld.service.in
|
||||
@@ -17,6 +17,7 @@ StandardError=null
|
||||
Type=dbus
|
||||
BusName=org.fedoraproject.FirewallD1
|
||||
KillMode=mixed
|
||||
+Restart=on-failure
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
--
|
||||
2.23.0
|
||||
@ -1,6 +1,6 @@
|
||||
Name: firewalld
|
||||
Version: 0.6.6
|
||||
Release: 4
|
||||
Release: 5
|
||||
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
|
||||
License: GPLv2+
|
||||
URL: http://www.firewalld.org
|
||||
@ -9,6 +9,7 @@ Source0: https://github.com/firewalld/firewalld/archive/v%{version}.tar.gz#/%{
|
||||
Patch0: firewalld-0.2.6-MDNS-default.patch
|
||||
#backport from Eric Garver <e@erig.me>
|
||||
Patch1: 0001-fedora-patch-to-default-to-iptables-backend.patch
|
||||
Patch2: add-Restart-on-failure-on-firewalld.service.patch
|
||||
|
||||
BuildArch: noarch
|
||||
BuildRequires: autoconf automake desktop-file-utils gettext intltool glib2 glib2-devel systemd-units docbook-style-xsl
|
||||
@ -193,6 +194,12 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat Jan 22 2022 yanglu<yanglu72@huawei.com> - 0.9.6-5
|
||||
- Type:bugfix
|
||||
- ID:NA
|
||||
- SUG:NA
|
||||
- DESC:add-Restart-on-failure-on-firewalld.service.patch
|
||||
|
||||
* Fri May 21 2021 xihaochen<xihaochen@huawei.com> - 0.9.6-4
|
||||
- Type:requirement
|
||||
- ID:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user