mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
19 lines
251 B
Bash
19 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
|