3 # bjorb Bjorb - secure TCP relay software
7 # description: Bjorb is secure TCP relay software. Bjorb provides you, secure \
8 # end-to-end connection over insecure network such as Internet.\
10 # 1. Encrypt/decrypt any "static port" TCP connection with SSL.\
11 # 2. Restrcit access by IP address.\
12 # 3. Server side certification.\
13 # 4. Client side certification.\
15 # pidfile: /var/run/bjorb.pid
17 # Source function library
18 . /etc/rc.d/init.d/functions
21 . /etc/sysconfig/network
23 # Get service config - may override defaults
24 [ -f /etc/sysconfig/bjorb ] && . /etc/sysconfig/bjorb
26 # Check that networking is up.
27 if is_yes "${NETWORKING}"; then
28 if [ ! -f /var/lock/subsys/network ]; then
29 msg_network_down bjorb
37 # See how we were called.
40 # Check if the service is already running?
41 if [ ! -f /var/lock/subsys/bjorb ]; then
45 [ $RETVAL -eq 0 ] && touch /var/lock/subsys/bjorb
47 msg_already_running Bjorb
51 if [ -f /var/lock/subsys/bjorb ]; then
55 rm -f /var/lock/subsys/bjorb
66 if [ -f /var/lock/subsys/bjorb ]; then
71 msg_not_running bjorb >&2
76 # if program allows reloading without stopping
89 msg_usage "$0 {start|stop|restart|reload|force-reload|status}"
95 # This must be last line !
96 # vi:syntax=sh:tw=78:ts=8:sw=4