mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
7ae777a361
PR: 57758 Submitted by: maintainer
20 lines
251 B
Bash
20 lines
251 B
Bash
#!/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
|