Use more adduser options to shorten preinst
Do not remove rspamd user in prerm (See #621833)
Fix name of pkg-config snippet for hiredis
Turn off bundled hiredis
Move preinst to postinst, rspamd does not need anything in preinst
Ship /var/{lib,log}/rspamd in package
/var/run is transient, create subdirectory in initscript instead
/var/lib/rspamd ownership is fixed, don't allow to override
Use /run/rspamd to store pid file, /var/run is obsolete
No need to specify group for chown explicitly
Use _rspamd as a system user in Debian
Use dh instead of CDBS
Fix permissions in package, don't change it in postinst
Reindent for better readability
Re-enable packaged hiredis
_rspamd user needs --force-badname
pid-file for rspamd is in /run/rspamd
Add postrm to remove log/lib files on purge
Add debhelper mark to the end of postinst to start daemon after creating user/group
Merge pull request #49 from dottedmag/debian

Debianization