diff options
author | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-05 17:11:07 +0100 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2012-05-05 17:11:07 +0100 |
commit | 0a151c662c67c17cffeee7e80e04a6348f0516af (patch) | |
tree | 62eaefad517b2ea52b1ee4c8c035c88656d1d1cb /pykolab/setup/setup_roundcube.py | |
parent | b3ff42571c0edab8e5b3c064ba3a488a1b534bab (diff) | |
download | pykolab-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.py | 4 |
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 " + \ |