From 4981646cd5649b1b70e30597ee803646d26c692e Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Fri, 14 Nov 2014 00:17:37 +0100 Subject: sysvinit: install init script without '.init' suffix * Makefile.am: Make the target postgresql, not postgresql.init. --- Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index e944382..7dd673e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,7 @@ userunitsdir = /etc/systemd/system if WANT_SYSVINIT initscriptsdir = $(sysconfdir)/init.d -nodist_initscripts_DATA = postgresql$(DISTSUFF).init +nodist_initscripts_DATA = postgresql$(DISTSUFF) else systemdunitsdir = $(prefix)/lib/systemd/system nodist_systemdunits_DATA = postgresql$(DISTSUFF).service postgresql$(DISTSUFF)@.service @@ -30,7 +30,7 @@ postgresql$(DISTSUFF)-setup: postgresql-setup.in $(c_s) postgresql$(DISTSUFF)-check-db-dir: postgresql-check-db-dir.in $(c_s) $(INSTANTIATE_SCRIPT) -postgresql$(DISTSUFF).init: postgresql.init.in $(c_s) +postgresql$(DISTSUFF): postgresql.init.in $(c_s) $(INSTANTIATE) # In ideal world, postgresql@.service would be hardlink to postgresql.service. -- cgit