26 lines
810 B
Diff
26 lines
810 B
Diff
Description: service apache2 restart fails on sid, so don't do that
|
|
--- a/install/tools/ipa-server-install
|
|
+++ b/install/tools/ipa-server-install
|
|
@@ -1212,7 +1212,8 @@ def main():
|
|
|
|
# Restart httpd to pick up the new IPA configuration
|
|
service.print_msg("Restarting the web server")
|
|
- http.restart()
|
|
+ http.stop()
|
|
+ http.start()
|
|
|
|
# Set the admin user kerberos password
|
|
ds.change_admin_password(admin_password)
|
|
--- a/ipaserver/install/httpinstance.py
|
|
+++ b/ipaserver/install/httpinstance.py
|
|
@@ -124,7 +124,8 @@ class HTTPInstance(service.Service):
|
|
|
|
def __start(self):
|
|
self.backup_state("running", self.is_running())
|
|
- self.restart()
|
|
+ self.stop()
|
|
+ self.start()
|
|
|
|
def __enable(self):
|
|
self.backup_state("enabled", self.is_running())
|