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

package info (click to toggle)
firewalld 2.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 28,900 kB
  • sloc: sh: 242,081; python: 29,155; xml: 13,238; makefile: 929
file content (24 lines) | stat: -rw-r--r-- 897 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 fa5c055..cc8fd6a 100644
--- a/config/firewalld.service.in
+++ b/config/firewalld.service.in
@@ -9,8 +9,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
 StandardOutput=null
 StandardError=null