summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_syncroton.py
diff options
context:
space:
mode:
Diffstat (limited to 'pykolab/setup/setup_syncroton.py')
-rw-r--r--pykolab/setup/setup_syncroton.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/setup/setup_syncroton.py b/pykolab/setup/setup_syncroton.py
index 251c0e1..5b9f915 100644
--- a/pykolab/setup/setup_syncroton.py
+++ b/pykolab/setup/setup_syncroton.py
@@ -91,6 +91,9 @@ password='%s'
if os.path.isfile('/usr/lib/systemd/system/apache2.service'):
httpservice = 'apache2.service'
+ if os.path.isfile('/lib/systemd/system/apache2.service'): # Debian 9
+ httpservice = 'apache2.service'
+
if os.path.isdir('/lib/systemd/system/apache2.service.d'):
httpservice = 'apache2.service'