summaryrefslogtreecommitdiffstats
path: root/net/3proxy/files/3proxy.sh
blob: 72f337b3e7a94d2874fd6c3c4d20b9aa8a945247 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh

case "$1" in
'start')
	%%PREFIX%%/bin/3proxy %%PREFIX%%/etc/3proxy.cfg \
		&& echo -n "  3proxy" \
		|| echo "3proxy startup failed"
	;;

'stop')
	/usr/bin/killall 3proxy
	;;

*)
	echo "Usage: ${0} { start | stop }"
	exit 1
	;;
esac
exit 0
OpenPOWER on IntegriCloud