diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-25 13:00:38 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2016-07-25 13:07:59 +0100 |
commit | 35bebde01fe935e5e595bde5ed4219cc3c8486fb (patch) | |
tree | 9561a63799418ee4a06dec661f1f01ed5e370f0c | |
parent | 2de1dbc8c34f785edfc898ca3df6134091118ae5 (diff) | |
download | rspamd-35bebde01fe935e5e595bde5ed4219cc3c8486fb.tar.gz rspamd-35bebde01fe935e5e595bde5ed4219cc3c8486fb.zip |
[Minor] Create local dirs in packages
-rw-r--r-- | centos/rspamd.spec | 4 | ||||
-rw-r--r-- | debian/dirs | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/centos/rspamd.spec b/centos/rspamd.spec index d606e44a0..56714f224 100644 --- a/centos/rspamd.spec +++ b/centos/rspamd.spec @@ -108,6 +108,8 @@ lua. %endif %{__install} -d -p -m 0755 %{buildroot}%{rspamd_home} +%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/local.d/ +%{__install} -p -D -d -m 0755 %{buildroot}%{_sysconfdir}/%{name}/override.d/ %clean rm -rf %{buildroot} @@ -208,6 +210,8 @@ fi %dir %{rspamd_rulesdir} %dir %{rspamd_confdir} %dir %{rspamd_confdir}/modules.d +%dir %{rspamd_confdir}/local.d +%dir %{rspamd_confdir}/override.d %dir %{rspamd_pluginsdir}/lua %dir %{rspamd_pluginsdir} %dir %{rspamd_wwwdir} diff --git a/debian/dirs b/debian/dirs index 33f9176bb..40b240269 100644 --- a/debian/dirs +++ b/debian/dirs @@ -1,2 +1,4 @@ var/lib/rspamd var/log/rspamd +etc/rspamd/local.d +etc/rspamd/override.d
\ No newline at end of file |