blob: 8a7abcc47c4ecff1351f1c572f7ed51cb8fab53d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header:
depend() {
need net
}
start() {
ebegin "Starting openvassd (scanner)"
checkpath -d -q /var/cache/openvassd
start-stop-daemon --start --name openvassd \
--exec /usr/sbin/openvassd \
--pidfile /run/openvassd.pid
eend $?
}
stop() {
ebegin "Stop openvassd (scanner)"
start-stop-daemon --stop --name openvassd \
--pidfile /run/openvassd.pid
eend $?
}
|