From b2db5d966f210be72250fb87e513d187d3de7fdd Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Fri, 27 Feb 2009 10:23:08 -0800 Subject: Added /etc/init.d/glusterfsd for rpmbuilds Signed-off-by: Anand V. Avati --- extras/init.d/Makefile.am | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'extras/init.d/Makefile.am') diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am index 608b5bb2d..73e9745cd 100644 --- a/extras/init.d/Makefile.am +++ b/extras/init.d/Makefile.am @@ -3,7 +3,10 @@ EXTRA_DIST = glusterfsd glusterfs-server glusterfs-server.plist CLEANFILES = -install-data-am: +initdir = $(sysconfdir)/init.d +init_DATA = glusterfsd + +install-data-local: if GF_DARWIN_HOST_OS - cp glusterfs-server.plist /Library/LaunchDaemons/com.zresearch.glusterfs.plist + cp glusterfs-server.plist /Library/LaunchDaemons/com.zresearch.glusterfs.plist endif -- cgit