summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno Böck <hanno@gentoo.org>2011-10-09 17:18:04 +0000
committerHanno Böck <hanno@gentoo.org>2011-10-09 17:18:04 +0000
commit3fa3ba4603ce5a0fe91bd234fab5dd62d7c3e1c1 (patch)
tree730ee397d5f8d3fb7063b2b32f44d55d76820ff4 /net-analyzer/openvas-scanner/files/openvassd
parentppc/ppc64 stable wrt #379297 (diff)
downloadgentoo-2-3fa3ba4603ce5a0fe91bd234fab5dd62d7c3e1c1.tar.gz
gentoo-2-3fa3ba4603ce5a0fe91bd234fab5dd62d7c3e1c1.tar.bz2
gentoo-2-3fa3ba4603ce5a0fe91bd234fab5dd62d7c3e1c1.zip
initial commit of openvas-scanner, part of openvas 4
(Portage version: 2.1.10.24/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/openvas-scanner/files/openvassd')
-rw-r--r--net-analyzer/openvas-scanner/files/openvassd23
1 files changed, 23 insertions, 0 deletions
diff --git a/net-analyzer/openvas-scanner/files/openvassd b/net-analyzer/openvas-scanner/files/openvassd
new file mode 100644
index 000000000000..5e9541234d7f
--- /dev/null
+++ b/net-analyzer/openvas-scanner/files/openvassd
@@ -0,0 +1,23 @@
+#!/sbin/runscript
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header:
+
+depend() {
+ need net
+}
+
+start() {
+ ebegin "Starting openvassd (scanner)"
+ start-stop-daemon --start --name openvassd \
+ --exec /usr/sbin/openvassd \
+ --pidfile /var/run/openvassd.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stop openvassd (scanner)"
+ start-stop-daemon --stop --name openvassd \
+ --pidfile /var/run/openvassd.pid
+ eend $?
+}