I have to change the dirsrv@.service file for 389 in order to add
ExecStopPost=/usr/bin/rm -f @localstatedir@/run/@package_name@/slapd-%i.pid
so that the pid file is removed during shutdown. Without this, various
upgrade things fail silently until they blow up later at runtime.
I know the freeipa installer copies this file from /lib/systemd/system
to /etc/systemd/system - what about during upgrade?
Freeipa-devel mailing list