From 0647103644b7bf165872d3545d8bbf2d272889c0 Mon Sep 17 00:00:00 2001 From: Andrew Lewis Date: Thu, 7 Jul 2016 21:29:10 +0200 Subject: [PATCH] [Minor] Drop CentOS service file patch (#709) --- centos/rspamd.spec | 4 ---- centos/sources/rspamd.service.patch | 12 ------------ 2 files changed, 16 deletions(-) delete mode 100644 centos/sources/rspamd.service.patch 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 -- 2.39.5