aboutsummaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2016-07-07 21:29:10 +0200
committerAndrew Lewis <nerf@judo.za.org>2016-07-07 21:36:53 +0200
commit0647103644b7bf165872d3545d8bbf2d272889c0 (patch)
treebb403ae148fc602914e196ed3b3446e2a3caf68f /centos
parentc868dc34c38cfc4886c6d0e18bc82620a236b07e (diff)
downloadrspamd-0647103644b7bf165872d3545d8bbf2d272889c0.tar.gz
rspamd-0647103644b7bf165872d3545d8bbf2d272889c0.zip
[Minor] Drop CentOS service file patch (#709)
Diffstat (limited to 'centos')
-rw-r--r--centos/rspamd.spec4
-rw-r--r--centos/sources/rspamd.service.patch12
2 files changed, 0 insertions, 16 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index 89bc0b087..59a854fd5 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -53,7 +53,6 @@ Source2: %{name}.logrotate
%endif
Source0: https://rspamd.com/downloads/%{name}-%{version}.tar.xz
-Patch0: %{name}.service.patch
%description
Rspamd is a rapid, modular and lightweight spam filter. It is designed to work
@@ -62,9 +61,6 @@ lua.
%prep
%setup -q
-%if 0%{?el7}
-%patch0 -p0
-%endif
%build
%{__cmake} \
diff --git a/centos/sources/rspamd.service.patch b/centos/sources/rspamd.service.patch
deleted file mode 100644
index 6e9c1c57c..000000000
--- a/centos/sources/rspamd.service.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- rspamd.service.orig 2016-07-06 22:35:44.164819553 +0200
-+++ rspamd.service 2016-07-06 22:36:16.665047224 +0200
-@@ -5,8 +5,7 @@
- [Service]
- Type=forking
- NonBlocking=true
--ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f
--User=_rspamd
-+ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f -u _rspamd -g _rspamd
- RuntimeDirectory=rspamd
- RuntimeDirectoryMode=0755
- Restart=always