summaryrefslogtreecommitdiff
path: root/network/openvas-scanner/rc.openvassd
diff options
context:
space:
mode:
Diffstat (limited to 'network/openvas-scanner/rc.openvassd')
-rw-r--r--network/openvas-scanner/rc.openvassd5
1 files changed, 4 insertions, 1 deletions
diff --git a/network/openvas-scanner/rc.openvassd b/network/openvas-scanner/rc.openvassd
index 4ae0183cce..1e13df9951 100644
--- a/network/openvas-scanner/rc.openvassd
+++ b/network/openvas-scanner/rc.openvassd
@@ -1,10 +1,13 @@
#!/bin/sh
+# Get OpenVAS options
+. /etc/rc.d/rc.openvas.conf
+
PIDFILE="/var/run/openvassd.pid"
start() {
echo "Starting OpenVAS scanner..."
- openvassd
+ openvassd --port=${SCA_PORT} ${SCA_OPTIONS}
}
stop() {