From 7a9df4d2886ef19417db9f4cf0c65b3160f877fc Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 3 Jul 2014 16:27:40 +0200 Subject: postgresql@.service: install this via install-data-hook .. instead of install-exec-hook, which caused race conditions due to parallelized run of make. --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 8b5c52f..f932651 100644 --- a/Makefile.am +++ b/Makefile.am @@ -67,7 +67,7 @@ CLEANFILES = $(bin_SCRIPTS) \ $(pkgsysconf_DATA) \ $(nodist_systemdunits_DATA) -install-exec-hook: +install-data-hook: rm -rf $(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF)@.service ln $(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF).service \ $(DESTDIR)$(systemdunitsdir)/postgresql$(DISTSUFF)@.service -- cgit