summaryrefslogtreecommitdiffstats
path: root/pykolab/setup/setup_roundcube.py
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-05 17:11:07 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-05 17:11:07 +0100
commit0a151c662c67c17cffeee7e80e04a6348f0516af (patch)
tree62eaefad517b2ea52b1ee4c8c035c88656d1d1cb /pykolab/setup/setup_roundcube.py
parentb3ff42571c0edab8e5b3c064ba3a488a1b534bab (diff)
downloadpykolab-0a151c662c67c17cffeee7e80e04a6348f0516af.tar.gz
Add freebusy and zpush setup routines
Restart httpd server rather then starting it
Diffstat (limited to 'pykolab/setup/setup_roundcube.py')
-rw-r--r--pykolab/setup/setup_roundcube.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pykolab/setup/setup_roundcube.py b/pykolab/setup/setup_roundcube.py
index 75c400e..cd6e5d2 100644
--- a/pykolab/setup/setup_roundcube.py
+++ b/pykolab/setup/setup_roundcube.py
@@ -150,10 +150,10 @@ def execute(*args, **kw):
p2.communicate()
if os.path.isfile('/bin/systemctl'):
- subprocess.call(['/bin/systemctl', 'start', 'httpd.service'])
+ subprocess.call(['/bin/systemctl', 'restart', 'httpd.service'])
subprocess.call(['/bin/systemctl', 'enable', 'httpd.service'])
elif os.path.isfile('/sbin/service'):
- subprocess.call(['/sbin/service', 'httpd', 'start'])
+ subprocess.call(['/sbin/service', 'httpd', 'restart'])
subprocess.call(['/sbin/chkconfig', 'httpd', 'on'])
else:
log.error(_("Could not start and configure to start on boot, the " + \