cba2463690
- Assign maintainer to submitter. Thanks to Mitsuru Yoshida for maintaing this port so far. - SED -> REINPLACE while here PR: ports/65746 Submitted by: Brad Davis
14 lines
301 B
Bash
14 lines
301 B
Bash
#!/bin/sh
|
|
if [ $# -eq 0 -o x$1 = xstart ]; then
|
|
if [ -x %PREFIX%/sbin/tinyproxy ]; then
|
|
%PREFIX%/sbin/tinyproxy && echo ' tinyproxy'
|
|
fi
|
|
fi
|
|
if [ x$1 = xstop ]; then
|
|
if [ -f /var/run/tinyproxy.pid ]; then
|
|
kill `cat /var/run/tinyproxy.pid`
|
|
else
|
|
# oh well
|
|
killall tinyproxy
|
|
fi
|
|
fi
|