3 # Startup script for psad
6 # description: The Port Scan Attack Detector (psad)
8 # pidfile: /var/run/psad.pid
9 # config: /etc/psad/psad.conf
11 # $Id: psad-init.archlinux
17 PID
=`cat /var/run/psad.pid`
18 # See how we were called.
21 stat_busy
"Starting psad"
22 [ -z "$PID" ] && /usr
/sbin
/psad
26 #let psad take care of the pid; we don't need to
32 stat_busy
"Stopping psad"
37 #let psad take care of the pid; we don't need to
43 /usr
/sbin
/psad
--Status
50 echo "Usage: psad {start|stop|status|restart}"