/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
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
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais