add-Restart-on-failure-on-firewalld.service.patch
This commit is contained in:
parent
4b4da276b5
commit
910bde85c1
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
|
Name: firewalld
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
|
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://www.firewalld.org
|
URL: http://www.firewalld.org
|
||||||
@ -8,6 +8,7 @@ Source0: https://github.com/firewalld/firewalld/releases/download/v%{version}/
|
|||||||
#backport from gnome
|
#backport from gnome
|
||||||
Patch0: firewalld-0.2.6-MDNS-default.patch
|
Patch0: firewalld-0.2.6-MDNS-default.patch
|
||||||
Patch1: repair-test-cases.patch
|
Patch1: repair-test-cases.patch
|
||||||
|
Patch2: add-Restart-on-failure-on-firewalld.service.patch
|
||||||
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
BuildRequires: autoconf automake desktop-file-utils gettext intltool glib2 glib2-devel systemd-units docbook-style-xsl
|
BuildRequires: autoconf automake desktop-file-utils gettext intltool glib2 glib2-devel systemd-units docbook-style-xsl
|
||||||
@ -212,6 +213,12 @@ fi
|
|||||||
%{_datadir}/firewalld/testsuite/python/firewalld_test.py
|
%{_datadir}/firewalld/testsuite/python/firewalld_test.py
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jan 25 2022 yanglu <yanglu72@huawei.com> - 1.0.2-2
|
||||||
|
- Type:bugfix
|
||||||
|
- ID:NA
|
||||||
|
- SUG:NA
|
||||||
|
- DESC:add-Restart-on-failure-on-firewalld.service
|
||||||
|
|
||||||
* Sat Dec 11 2021 gaihuiying <gaihuiying1@huawei.com> - 1.0.2-1
|
* Sat Dec 11 2021 gaihuiying <gaihuiying1@huawei.com> - 1.0.2-1
|
||||||
- Type:requirement
|
- Type:requirement
|
||||||
- ID:NA
|
- ID:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user