diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-03-11 03:56:49 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-03-11 03:56:49 +0000 |
commit | 0acd2347d0ef1a0b771301e4cffc332db6687e1b (patch) | |
tree | 36865cb68705f5b28d4e37041e38580ebaee6008 /net-fs | |
parent | Added mod-ruby-0.9.7, untested, masked (diff) | |
download | historical-0acd2347d0ef1a0b771301e4cffc332db6687e1b.tar.gz historical-0acd2347d0ef1a0b771301e4cffc332db6687e1b.tar.bz2 historical-0acd2347d0ef1a0b771301e4cffc332db6687e1b.zip |
tweak initscript to kill daemons via pidfile
Diffstat (limited to 'net-fs')
-rw-r--r-- | net-fs/samba/ChangeLog | 11 | ||||
-rw-r--r-- | net-fs/samba/files/samba.rc6 | 6 |
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 } |