[Freeipa-devel] 389 systemd changes

Simo Sorce simo at redhat.com
Sun Jan 22 07:31:15 UTC 2012


On Sat, 2012-01-21 at 10:54 +0200, Alexander Bokovoy wrote:
> On Fri, 20 Jan 2012, Rich Megginson wrote:
> 
> > I have to change the dirsrv at .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?
> In Fedora we have upgrade script that can handle this. Please make a 
> ticket for me.

Shouldn't we just 'include' the original file and not copy it ?
If we include it a change in the file will be automatically picked up.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list