[Openais] [PATCH] corosync/trunk: expose service.d

Steven Dake sdake at redhat.com
Mon Nov 30 12:02:08 PST 2009


good for merge

On Mon, 2009-11-30 at 20:01 +0100, Fabio M. Di Nitto wrote:
> /etc/corosync/service.d has been supported for a long time, but not many
> noticed it because it´s not installed by default. Fix that.
> 
> some distro were looking into some random framework to plug/unplug
> external services (such as pacemaker) when in fact we do have it in place.
> 
> Fabio
> plain text document attachment (expose_serviced.diff)
> Index: corosync.spec.in
> ===================================================================
> --- corosync.spec.in	(revision 2554)
> +++ corosync.spec.in	(working copy)
> @@ -88,6 +88,7 @@
>  %{_sbindir}/corosync-cpgtool
>  %{_sbindir}/corosync-quorumtool
>  %dir %{_sysconfdir}/corosync
> +%dir %{_sysconfdir}/corosync/service.d
>  %dir %{_sysconfdir}/corosync/uidgid.d
>  %config(noreplace) %{_sysconfdir}/corosync/corosync.conf.example
>  %{_initddir}/corosync
> Index: Makefile.am
> ===================================================================
> --- Makefile.am	(revision 2553)
> +++ Makefile.am	(working copy)
> @@ -52,11 +52,13 @@
>  			  man init
>  
>  install-exec-local:
> +	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/service.d
>  	$(INSTALL) -d $(DESTDIR)/${COROSYSCONFDIR}/uidgid.d
>  	$(INSTALL) -d $(DESTDIR)/${localstatedir}/lib/corosync
>  	$(INSTALL) -d $(DESTDIR)/${SOCKETDIR}
>  
>  uninstall-local:
> +	rmdir $(DESTDIR)/${COROSYSCONFDIR}/service.d || :;
>  	rmdir $(DESTDIR)/${COROSYSCONFDIR}/uidgid.d || :;
>  	rmdir $(DESTDIR)/${localstatedir}/lib/corosync || :;
>  	rmdir $(DESTDIR)/${SOCKETDIR} || :;
> _______________________________________________
> Openais mailing list
> Openais at lists.linux-foundation.org
> https://lists.linux-foundation.org/mailman/listinfo/openais



More information about the Openais mailing list