freeipa/init/systemd/ipa.service.in
Florence Blanc-Renaud f447489707
ipa systemd unit should define Wants=network instead of Requires=network
The file ipa.service defines
    Requires=network.target
which means that ipa stack will be restarted each time the network stack
is restarted. This is not needed, and Wants=network.target will be sufficient.

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

Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
2017-03-07 20:06:35 +01:00

16 lines
267 B
SYSTEMD

[Unit]
Description=Identity, Policy, Audit
Wants=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