summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-11-18 11:38:28 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2016-11-18 11:38:28 +0100
commit04a51ac8ec45aaf819646edf24d3f3fe96152ffa (patch)
tree85fce8c0e04c05fe69fa0986f34c57c00655f09e /pykolab
parent138b79783d0f8772fb6508c7a760a3e5846ea965 (diff)
downloadpykolab-04a51ac8ec45aaf819646edf24d3f3fe96152ffa.tar.gz
I'm outta breath.
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 20d562c..70b4ddd 100644
--- a/pykolab/setup/setup_mta.py
+++ b/pykolab/setup/setup_mta.py
@@ -493,6 +493,9 @@ result_format = "shared+%%s"
if os.path.isfile('/lib/systemd/system/clamd.service'):
clamavservice = 'clamd.service'
+ if os.path.isfile('/lib/systemd/system/clamav-daemon.service'):
+ clamavservice = 'clamav-daemon.service'
+
if os.path.isfile('/bin/systemctl'):
subprocess.call(['systemctl', 'restart', 'postfix.service'])
subprocess.call(['systemctl', 'restart', amavisservice])