Files
freeipa/init/systemd/ipa.service.in
T
Florence Blanc-Renaud 98e3b14a04 Fix ipa.service unit re. gssproxy
ipa.service unit defines Requires=gssproxy. Because of this, during
ipa-server-upgrade, the restart of gssproxy triggers a restart of ipa unit
(hence stopping LDAP server and breaking the connection api.Backend.ldap2).
Calls using this connection after gssproxy restart fail and ipa-server-upgrade
exits on failure.
The fix defines Wants=gssproxy to avoid the restart of ipa.service

https://fedorahosted.org/freeipa/ticket/6705

Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
2017-03-01 10:29:57 +01:00

16 lines
270 B
Plaintext

[Unit]
Description=Identity, Policy, Audit
Requires=network.target
Wants=gssproxy.service
After=network.target
[Service]
Type=oneshot
ExecStart=@sbindir@/ipactl start
ExecStop=@sbindir@/ipactl stop
RemainAfterExit=yes
TimeoutSec=0
[Install]
WantedBy=multi-user.target