summaryrefslogtreecommitdiffstats
path: root/extras/init.d/Makefile.am
diff options
context:
space:
mode:
authorHarshavardhana <harsha@zresearch.com>2009-02-27 10:23:08 -0800
committerAnand V. Avati <avati@amp.gluster.com>2009-02-28 00:06:22 +0530
commitb2db5d966f210be72250fb87e513d187d3de7fdd (patch)
tree9600f267b789eb209ca26db37d9eaf82d748891e /extras/init.d/Makefile.am
parent3aff44fab8ba7a109bd691b8675dbfd9842237a3 (diff)
Added /etc/init.d/glusterfsd for rpmbuilds
Signed-off-by: Anand V. Avati <avati@amp.gluster.com>
Diffstat (limited to 'extras/init.d/Makefile.am')
-rw-r--r--extras/init.d/Makefile.am7
1 files changed, 5 insertions, 2 deletions
diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am
index 608b5bb2d4d..73e9745cda1 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