diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 19:19:27 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-09-24 19:19:27 +0100 |
commit | 6d189a91bd907e820fc2552f08236e0b2e55249e (patch) | |
tree | c1a27ed75294cc35081a778678b7bea48f0af893 /modules/amavis | |
parent | c13c6824f34171e8e9ceba0e35a64d1327fa00bf (diff) | |
download | puppet-6d189a91bd907e820fc2552f08236e0b2e55249e.tar puppet-6d189a91bd907e820fc2552f08236e0b2e55249e.tar.gz puppet-6d189a91bd907e820fc2552f08236e0b2e55249e.tar.bz2 puppet-6d189a91bd907e820fc2552f08236e0b2e55249e.tar.xz puppet-6d189a91bd907e820fc2552f08236e0b2e55249e.zip |
Get amavis to start
Diffstat (limited to 'modules/amavis')
-rw-r--r-- | modules/amavis/templates/amavisd.conf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/amavis/templates/amavisd.conf b/modules/amavis/templates/amavisd.conf index 0e3b3f1d..2d782988 100644 --- a/modules/amavis/templates/amavisd.conf +++ b/modules/amavis/templates/amavisd.conf @@ -22,6 +22,9 @@ $daemon_group = 'amavis'; # (no default; customary: vscan or amavis), -g # a convenient default for other settings could be localhost.localdomain # or change this as your needs +<% if scope.function_versioncmp([lsbdistrelease, '6']) >= 0 -%> +$MYHOME = '/run/amavis'; +<% end %> # $MYHOME = '/var/lib/amavis'; # a convenient default for other settings, -H $TEMPBASE = "$MYHOME/tmp"; # working directory, needs to exist, -T $ENV{TMPDIR} = $TEMPBASE; # environment variable TMPDIR, used by SA, etc. |