aboutsummaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-17 18:28:56 +0000
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-12-17 18:28:56 +0000
commitfa1a67a410f3d19727a5e0a190d83394a9278349 (patch)
tree06fb9ac512c68f45d359e8d22dd90477e441059a /debian
parent75a0c0ea96046f84540900e7a7aee49f391d200a (diff)
downloadrspamd-fa1a67a410f3d19727a5e0a190d83394a9278349.tar.gz
rspamd-fa1a67a410f3d19727a5e0a190d83394a9278349.zip
Create dbdir for rspamd in debian package
Diffstat (limited to 'debian')
-rw-r--r--debian/postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/postinst b/debian/postinst
index 8d96fcb18..374209ce7 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -16,7 +16,7 @@ case "$1" in
--gecos "rspamd spam filtering system" \
--force-badname \
$SERVER_USER
-
+ mkdir -p $SERVER_HOME $SERVER_LOG || true
chown $SERVER_USER: $SERVER_HOME $SERVER_LOG
;;