summaryrefslogtreecommitdiffstats
path: root/projectroot/etc/init.d/boa
blob: 53c28d7157432ed800e00a76a70ae3e8c7cbbb3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

# See how we were called.
case "$1" in
  start)
	echo -n "Starting boa: "
	/usr/sbin/boa
	echo
	;;
  stop)
	echo -n "Shutting down boa: "
	killall boa
	;;
  restart)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: $0 {start|stop|restart}"
	exit 1
esac

exit 0