]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Drop CentOS service file patch (#709) 711/head
authorAndrew Lewis <nerf@judo.za.org>
Thu, 7 Jul 2016 19:29:10 +0000 (21:29 +0200)
committerAndrew Lewis <nerf@judo.za.org>
Thu, 7 Jul 2016 19:36:53 +0000 (21:36 +0200)
centos/rspamd.spec
centos/sources/rspamd.service.patch [deleted file]

index 89bc0b087a16e649165fd6af4ed44a8a9658d807..59a854fd5b0be689fc7ab2023df27377a713faff 100644 (file)
@@ -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 (file)
index 6e9c1c5..0000000
+++ /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