summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/setup/setup_mta.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/setup/setup_mta.py b/pykolab/setup/setup_mta.py
index 70b4ddd..17e79bc 100644
--- a/pykolab/setup/setup_mta.py
+++ b/pykolab/setup/setup_mta.py
@@ -487,6 +487,9 @@ result_format = "shared+%%s"
if os.path.isfile('/lib/systemd/system/amavis.service'):
amavisservice = 'amavis.service'
+ if os.path.isfile('/etc/init.d/amavis'):
+ amavisservice = 'amavis.service'
+
if os.path.isfile('/usr/lib/systemd/system/clamd.service'):
clamavservice = 'clamd.service'