aboutsummaryrefslogtreecommitdiff
path: root/network/greenbone-security-assistant/rc.gsad
diff options
context:
space:
mode:
Diffstat (limited to 'network/greenbone-security-assistant/rc.gsad')
-rw-r--r--network/greenbone-security-assistant/rc.gsad32
1 files changed, 0 insertions, 32 deletions
diff --git a/network/greenbone-security-assistant/rc.gsad b/network/greenbone-security-assistant/rc.gsad
deleted file mode 100644
index d97a5ba2f6782..0000000000000
--- a/network/greenbone-security-assistant/rc.gsad
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-# Get OpenVAS options
-. /etc/rc.d/rc.openvas.conf
-
-PIDFILE="/var/run/gsad.pid"
-
-start() {
- echo "Starting Greenbone Security Assistant..."
- gsad --mport=${MAN_PORT} ${GSA_OPTIONS}
-}
-
-stop() {
- echo "Stopping Greenbone Security Assistant..."
- kill $(cat $PIDFILE)
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart)
- stop
- sleep 1
- start
- ;;
- *)
- echo "Usage: $0 (start|stop|restart)"
-esac