diff options
author | Andrew Lewis <nerf@judo.za.org> | 2015-03-12 08:05:57 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2015-03-12 08:21:48 +0200 |
commit | fb122509cfd3e12ef2078a061872f6db222c1b05 (patch) | |
tree | e2c44331b6187d0a4880eaa2edeb11acbf84d3ac /centos/sources | |
parent | 71a8799f17f8a00bc681e07dbdbb82c165ec0163 (diff) | |
download | rspamd-fb122509cfd3e12ef2078a061872f6db222c1b05.tar.gz rspamd-fb122509cfd3e12ef2078a061872f6db222c1b05.zip |
RPM: Patch systemd service for CentOS7 & fix broken filesystem attributes
Diffstat (limited to 'centos/sources')
-rw-r--r-- | centos/sources/rspamd.service | 6 | ||||
-rw-r--r-- | centos/sources/rspamd.service.patch | 9 |
2 files changed, 9 insertions, 6 deletions
diff --git a/centos/sources/rspamd.service b/centos/sources/rspamd.service deleted file mode 100644 index 14545569a..000000000 --- a/centos/sources/rspamd.service +++ /dev/null @@ -1,6 +0,0 @@ -[Unit] -Description=rapid spam filtering system -After=nss-lookup.target - -[Service] -ExecStart=/usr/bin/rspamd -c /etc/rspamd/rspamd.conf -f -u _rspamd -g _rspamd diff --git a/centos/sources/rspamd.service.patch b/centos/sources/rspamd.service.patch new file mode 100644 index 000000000..c3c05fbbb --- /dev/null +++ b/centos/sources/rspamd.service.patch @@ -0,0 +1,9 @@ +--- rspamd.service.orig 2015-03-12 07:59:13.779172699 +0200 ++++ rspamd.service 2015-03-12 08:00:20.443173489 +0200 +@@ -3,5 +3,4 @@ + After=nss-lookup.target + + [Service] +-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 |