aboutsummaryrefslogtreecommitdiffstats
path: root/centos
diff options
context:
space:
mode:
authorAndrew Lewis <nerf@judo.za.org>2015-03-12 14:06:59 +0200
committerAndrew Lewis <nerf@judo.za.org>2015-03-12 14:07:41 +0200
commitc376c47a9c131c46af16a793be0cb7810c870786 (patch)
treeddc6d5a8d38806d063d34891824416673af14af6 /centos
parentfb122509cfd3e12ef2078a061872f6db222c1b05 (diff)
downloadrspamd-c376c47a9c131c46af16a793be0cb7810c870786.tar.gz
rspamd-c376c47a9c131c46af16a793be0cb7810c870786.zip
RPM: don't break rspamd on upgrade
Diffstat (limited to 'centos')
-rw-r--r--centos/rspamd.spec2
1 files changed, 2 insertions, 0 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec
index c9d539182..6852c98db 100644
--- a/centos/rspamd.spec
+++ b/centos/rspamd.spec
@@ -118,6 +118,8 @@ rm -rf %{buildroot}
%endif
%post
+#to allow easy upgrade from 0.8.1
+chown -R %{rspamd_user}:%{rspamd_group} %{rspamd_home}
%if 0%{?suse_version}
%service_add_post %{name}.service
%service_add_post %{name}.socket