URL:
https://github.com/freeipa/freeipa/pull/4366
Author: fcami
Title: #4366: [Backport][ipa-4-7] ipa-restore: restart services at the end
Action: opened
PR body:
"""
MANUAL cherry-pick of
https://github.com/freeipa/freeipa/pull/4349
When IPA was not installed on the restore target host, and
when httpd was already running, "ipactl stop" does not stop
httpd. "ipactl start" at the end of the restore tool will
therefore not restart httpd either.
Calling "ipactl restart" at the end of the restore fixes the
issue, and as an added bonus, makes sure IPA can restart itself
properly.
Fixes:
https://pagure.io/freeipa/issue/8226
Signed-off-by: François Cami <fcami(a)redhat.com>
Reviewed-By: Christian Heimes <cheimes(a)redhat.com>
Reviewed-By: Florence Blanc-Renaud <flo(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghfreeipa
https://github.com/freeipa/freeipa
git fetch ghfreeipa pull/4366/head:pr4366
git checkout pr4366