blob: b1705e645640cddf0e65d3f7c6cd9d5e4a8965fa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# /space/gentoo/cvsroot/gentoo-x86/net-misc/bind/files/named.rc6,v 1.4 2002/06/01 16:31:07 nitro Exp
depend() {
need net
}
start() {
ebegin "Starting innd"
su - news -c /usr/lib/news/bin/rc.news
eend $?
}
stop() {
ebegin "Stopping innd"
su - news -c '/usr/lib/news/bin/rc.news stop'
sleep 2
eend $?
}
|