summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pykolab/setup/setup_roundcube.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py
index b03a90f..7fa7eb7 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -320,6 +320,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'