File: Remove-etc-sysconfig-firewalld-support.patch

package info (click to toggle)
firewalld 2.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 28,092 kB
  • sloc: sh: 232,495; python: 29,359; xml: 12,811; makefile: 917
file content (24 lines) | stat: -rw-r--r-- 944 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Michael Biebl <biebl@debian.org>
Date: Sat, 9 Feb 2013 07:28:08 +0100
Subject: Remove /etc/sysconfig/firewalld support

This is a Redhatism. If users want to override how firewalld is started, they
can use the standard systemd mechanisms for that, like drop-ins.
---
 config/firewalld.service.in | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/firewalld.service.in b/config/firewalld.service.in
index f39c411..ae24d00 100644
--- a/config/firewalld.service.in
+++ b/config/firewalld.service.in
@@ -8,8 +8,7 @@ Conflicts=iptables.service ip6tables.service ebtables.service ipset.service
 Documentation=man:firewalld(1)
 
 [Service]
-EnvironmentFile=-/etc/sysconfig/firewalld
-ExecStart=@sbindir@/firewalld --nofork --nopid $FIREWALLD_ARGS
+ExecStart=@sbindir@/firewalld --nofork --nopid
 ExecReload=/bin/kill -HUP $MAINPID
 # supress to log debug and error output also to /var/log/messages
 StandardOutput=null