summaryrefslogtreecommitdiff
path: root/net-fs
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-03-11 03:56:49 +0000
committerDonny Davies <woodchip@gentoo.org>2002-03-11 03:56:49 +0000
commit80722491de055f642da887ca62c59040897ac565 (patch)
treeec7acc12e600887a6650a291f6e9096b9213d61f /net-fs
parentAdded mod-ruby-0.9.7, untested, masked (diff)
downloadgentoo-2-80722491de055f642da887ca62c59040897ac565.tar.gz
gentoo-2-80722491de055f642da887ca62c59040897ac565.tar.bz2
gentoo-2-80722491de055f642da887ca62c59040897ac565.zip
tweak initscript to kill daemons via pidfile
Diffstat (limited to 'net-fs')
-rw-r--r--net-fs/samba/ChangeLog11
-rw-r--r--net-fs/samba/files/samba.rc66
2 files changed, 10 insertions, 7 deletions
diff --git a/net-fs/samba/ChangeLog b/net-fs/samba/ChangeLog
index a3fd622ca5e6..8a0c80efb115 100644
--- a/net-fs/samba/ChangeLog
+++ b/net-fs/samba/ChangeLog
@@ -1,13 +1,16 @@
# ChangeLog for net-fs/samba
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.4 2002/03/05 15:22:58 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/ChangeLog,v 1.5 2002/03/11 03:56:49 woodchip Exp $
+
+ 10 March 2002; Donny Davies <woodchip@gentoo.org> files/samba.rc6 :
+
+ Tweak initscript to kill the daemons via pidfile.
*samba-2.2.3a-r1 (5 March 2002)
5 March 2002; M.Schlemmer <azarah@gentoo.org> samba-2.2.3a-r1.ebuild,
- samba-2.2.3a-loadparm.c.patch,
- samba-2.2.3a-proto.c.patch,
- samba-2.2.3a-reply.h.patch
+ samba-2.2.3a-loadparm.c.patch, samba-2.2.3a-proto.c.patch,
+ samba-2.2.3a-reply.h.patch :
Move the patches to ${FILESDIR}, as they have the same names as those for
2.2.2, but is not the same, thus ibiblio do not cache the new ones, and
diff --git a/net-fs/samba/files/samba.rc6 b/net-fs/samba/files/samba.rc6
index dadb66050a0c..c9fd7e3cfaf5 100644
--- a/net-fs/samba/files/samba.rc6
+++ b/net-fs/samba/files/samba.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba.rc6,v 1.5 2002/01/28 23:00:56 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-fs/samba/files/samba.rc6,v 1.6 2002/03/11 03:56:49 woodchip Exp $
depend() {
need net
@@ -18,9 +18,9 @@ start() {
stop() {
ebegin "Stopping samba"
- start-stop-daemon --stop --quiet --exec /usr/sbin/nmbd
+ start-stop-daemon --stop --quiet --pidfile /var/run/smb/nmbd.pid
result=$?
- start-stop-daemon --stop --quiet --exec /usr/sbin/smbd
+ start-stop-daemon --stop --quiet --pidfile /var/run/smb/smbd.pid
result=$(( $result + $? ))
eend $result
}