diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 10:01:27 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2016-08-19 11:24:37 +0000 |
commit | 1d98247a68304d44413a33e3ca074cd07c3aabea (patch) | |
tree | 91b0ca4e83c977a573aa26cf035ae78a00c89d4a /testing/openvas-scanner/openvassd.initd | |
parent | d456651d95aefa62c7b38d7af4a105ebb66f279c (diff) | |
download | aports-1d98247a68304d44413a33e3ca074cd07c3aabea.tar.bz2 aports-1d98247a68304d44413a33e3ca074cd07c3aabea.tar.xz |
community/openvas-scanner: moved from testing
Diffstat (limited to 'testing/openvas-scanner/openvassd.initd')
-rw-r--r-- | testing/openvas-scanner/openvassd.initd | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/testing/openvas-scanner/openvassd.initd b/testing/openvas-scanner/openvassd.initd deleted file mode 100644 index 4b4de5e515..0000000000 --- a/testing/openvas-scanner/openvassd.initd +++ /dev/null @@ -1,26 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -name="OpenVAS Scanner" -command="/usr/bin/openvassd" -command_args="${SCANNER_LISTEN} ${SCANNER_PORT} ${SCANNER_SRCIP} ${SCANNER_EXTRA_ARGS}" -pidfile="/run/openvassd.pid" -extra_stopped_commands="create_cache" - -depend() { - after bootmisc - need localmount net -} - -start_pre() { - checkpath --directory --mode 0775 --quiet /var/cache/openvas -} - -create_cache() { - checkpath --directory --mode 0775 --quiet /var/cache/openvas - ebegin "Generating initial Cache" - /usr/bin/openvassd --foreground --only-cache - eend $? -} |