diff options
author | Csaba Henk <csaba@gluster.com> | 2010-05-28 07:00:42 +0000 |
---|---|---|
committer | Anand V. Avati <avati@dev.gluster.com> | 2010-05-31 05:39:22 -0700 |
commit | 5e03484d1d24ae93f7cad5fe575edd9ce8e0195b (patch) | |
tree | 67ac4565acbd782d20bf6e32f0e2718b86428b6d /extras | |
parent | a841aba0844e69e3a11205f4f0b5176bcc0cb362 (diff) |
OS X: make location of launchd service configurable
Signed-off-by: Csaba Henk <csaba@gluster.com>
Signed-off-by: Anand V. Avati <avati@dev.gluster.com>
BUG: 361 (GlusterFS 3.0 should work on Mac OS/X)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
Diffstat (limited to 'extras')
-rw-r--r-- | extras/init.d/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/init.d/Makefile.am b/extras/init.d/Makefile.am index 6f479e7ca..c09016178 100644 --- a/extras/init.d/Makefile.am +++ b/extras/init.d/Makefile.am @@ -4,6 +4,7 @@ EXTRA_DIST = glusterfsd-Debian glusterfsd-Redhat glusterfsd-SuSE glusterfs-serve CLEANFILES = initdir = @initdir@ +launchddir = @launchddir@ $(GF_DISTRIBUTION): $(mkdir_p) $(DESTDIR)$(initdir) @@ -13,5 +14,6 @@ install-exec-local: $(GF_DISTRIBUTION) install-data-local: if GF_DARWIN_HOST_OS - cp glusterfs-server.plist /Library/LaunchDaemons/com.gluster.glusterfs.plist + $(mkdir_p) $(DESTDIR)$(launchddir) + $(INSTALL_PROGRAM) glusterfs-server.plist $(DESTDIR)$(launchddir)/com.gluster.glusterfs.plist endif |