diff options
author | manu <manu@pkgsrc.org> | 2011-05-09 09:38:26 +0000 |
---|---|---|
committer | manu <manu@pkgsrc.org> | 2011-05-09 09:38:26 +0000 |
commit | 790d05df6aa5ac7a77c619995fc353d3b0d07e0e (patch) | |
tree | 6ad77d6e7df195c30f779df89dae2b5a7d60e1a3 /filesystems | |
parent | c0df20ed4ef982ec674896edf31d6306682cb0a9 (diff) | |
download | pkgsrc-790d05df6aa5ac7a77c619995fc353d3b0d07e0e.tar.gz |
Fix log directroy creation location
Have glusterfsd store its pid in startup script
Diffstat (limited to 'filesystems')
-rw-r--r-- | filesystems/glusterfs/Makefile | 4 | ||||
-rwxr-xr-x | filesystems/glusterfs/files/glusterfsd.sh | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/filesystems/glusterfs/Makefile b/filesystems/glusterfs/Makefile index 13c37136e59..9009f2085f9 100644 --- a/filesystems/glusterfs/Makefile +++ b/filesystems/glusterfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2011/05/08 08:26:43 tnn Exp $ +# $NetBSD: Makefile,v 1.7 2011/05/09 09:38:26 manu Exp $ # DISTNAME= glusterfs-3.1.4 @@ -57,7 +57,7 @@ EGDIR= ${PREFIX}/etc/glusterfs CONF_FILES+= ${EGDIR}/glusterfs.vol.sample ${EGDIR}/glusterfs.vol CONF_FILES+= ${EGDIR}/glusterfsd.vol.sample ${EGDIR}/glusterfsd.vol CONF_FILES+= ${EGDIR}/glusterd.vol ${EGDIR}/glusterd.vol -OWN_DIRS+= ${VARBASE}/glusterfs +OWN_DIRS+= ${VARBASE}/log/glusterfs BUILD_DEFS+= VARBASE RCD_SCRIPTS= glusterfsd glusterd diff --git a/filesystems/glusterfs/files/glusterfsd.sh b/filesystems/glusterfs/files/glusterfsd.sh index 8611895bdf4..38e8e8fa3e2 100755 --- a/filesystems/glusterfs/files/glusterfsd.sh +++ b/filesystems/glusterfs/files/glusterfsd.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $NetBSD: glusterfsd.sh,v 1.1 2011/04/18 16:19:48 manu Exp $ +# $NetBSD: glusterfsd.sh,v 1.2 2011/05/09 09:38:26 manu Exp $ # # PROVIDE: glusterfsd @@ -12,6 +12,7 @@ name="glusterfsd" rcvar=$name command="@PREFIX@/sbin/${name}" pidfile="/var/run/${name}.pid" +command_args="-p ${pidfile}" required_files="@PREFIX@/etc/glusterfs/${name}.vol" load_rc_config $name |