summaryrefslogtreecommitdiffstats
path: root/archive/burp/init.d/burp
blob: ee9fc899254fde3013eb971122ea01fd1d21481e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/bash

. /etc/sysconfig/burp

if [[ $STATIC == "yes" ]] && [[ -x /usr/sbin/static-burp ]]; then
  PROGRAM=/usr/sbin/static-burp
else
  PROGRAM=/usr/sbin/burp
fi

PIDFILE=/var/run/burp/server.pid
ARGS="-c /etc/burp/burp-server.conf $BURP_ARGS"
RUNLEVEL=3
NEEDS="+network"

. /etc/init.d/smgl_init

stop() {
  _stop
  rm -f "$PIDFILE"
}