###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
+# Copyright (C) 2007-2018 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
cd $(DIR_APP) && cp -f amavisd /usr/bin
chown root.root /usr/bin/amavisd
chmod 755 /usr/bin/amavisd
- cd $(DIR_APP) && cp amavisd.conf /etc
+
+ #install initscripts
+ $(call INSTALL_INITSCRIPT,amavisd)
+
+ cp -fv $(DIR_SRC)/config/amavisd/amavisd.conf /etc
chown root.root /etc/amavisd.conf
chmod 644 /etc/amavisd.conf
-mkdir -p /var/amavis/{db,tmp} /var/virusmails