summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Herbert <stuart@gentoo.org>2003-10-02 08:54:53 +0000
committerStuart Herbert <stuart@gentoo.org>2003-10-02 08:54:53 +0000
commitbfa6c2d176d29ca39e649a438be4c0f0b2122da2 (patch)
tree6f24a283cb5318cb7a3ef68e387fc89cc0fe26f2 /dev-util/perforce/files
parentImproved init.d and conf.d files (diff)
downloadgentoo-2-bfa6c2d176d29ca39e649a438be4c0f0b2122da2.tar.gz
gentoo-2-bfa6c2d176d29ca39e649a438be4c0f0b2122da2.tar.bz2
gentoo-2-bfa6c2d176d29ca39e649a438be4c0f0b2122da2.zip
Improved init.d and conf.d files
Diffstat (limited to 'dev-util/perforce/files')
-rw-r--r--dev-util/perforce/files/digest-perforce-2002.2-r17
-rw-r--r--dev-util/perforce/files/perforce-2002.2/conf.d/perforce2
-rw-r--r--dev-util/perforce/files/perforce-2002.2/init.d/perforce6
3 files changed, 11 insertions, 4 deletions
diff --git a/dev-util/perforce/files/digest-perforce-2002.2-r1 b/dev-util/perforce/files/digest-perforce-2002.2-r1
new file mode 100644
index 000000000000..6fead41b6cf2
--- /dev/null
+++ b/dev-util/perforce/files/digest-perforce-2002.2-r1
@@ -0,0 +1,7 @@
+MD5 5c2e142eb435cca50fd9da52b211d08d p4d 1149668
+MD5 4ea793f730a10732fb285e3240094ea4 p4 458036
+MD5 9bc409ec61f48dfb21f17406c82af407 p4web 1615695
+MD5 1a205b563d2b6b8819c967f1a89389bd p4ftpd 591040
+MD5 a883a0a7638b1e15c9d133c8cd922f2c p4p 571171
+MD5 88b8b8c33e32092a96cb409bf635b40d p4.1 72954
+MD5 382614735981ad5a80b7b679b36f48c0 p4d.1 4343
diff --git a/dev-util/perforce/files/perforce-2002.2/conf.d/perforce b/dev-util/perforce/files/perforce-2002.2/conf.d/perforce
index a2b8662c3711..889d1b7941ca 100644
--- a/dev-util/perforce/files/perforce-2002.2/conf.d/perforce
+++ b/dev-util/perforce/files/perforce-2002.2/conf.d/perforce
@@ -1,3 +1,3 @@
# Config file for /etc/init.d/perforce
-P4D="-q"
+P4D="-q -L /var/log/perforce"
diff --git a/dev-util/perforce/files/perforce-2002.2/init.d/perforce b/dev-util/perforce/files/perforce-2002.2/init.d/perforce
index a06b4e07f29e..bffc8c6fb941 100644
--- a/dev-util/perforce/files/perforce-2002.2/init.d/perforce
+++ b/dev-util/perforce/files/perforce-2002.2/init.d/perforce
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce/files/perforce-2002.2/init.d/perforce,v 1.1 2003/10/01 08:59:03 stuart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/perforce/files/perforce-2002.2/init.d/perforce,v 1.2 2003/10/02 08:54:49 stuart Exp $
#
# NB: Configuration is in /etc/conf.d/perforce
@@ -18,9 +18,9 @@ start() {
# depot root
P4D="`echo ${P4D} | sed -e 's#-d##' -e 's#-r [^[:space:]]*##'`"
start-stop-daemon --start --quiet --chuid perforce:perforce \
- --pidfile ${PIDFILE} --make-pidfile --background \
+ --pidfile ${PIDFILE} --make-pidfile \
--exec /usr/sbin/p4d \
- -- ${P4D} -r /var/lib/perforce
+ -- ${P4D} -d -r /var/lib/perforce
eend $?
}