openbsd-ports/www/transproxy/pkg/tproxy.rc
ajacoutot 2dd913692e Long overdue update to transproxy-1.6 (fixes a problem with posting
large amount of data amongst other things).

Add an rc.d(8) script.
Add a _tproxy user/group and make tproxy runs as this user by default.
Remove jakob@ from maintainer per his request.

While here, do some cleanings:
* clean-up indent
* don't overwrite CC, CFLAGS and PREFIX
* fix patch naming
* fix a wording in DESCR
* comment tproxyrun and tproxywatch, they are useless under OpenBSD
2011-03-07 07:25:40 +00:00

13 lines
210 B
Bash
Executable File

#!/bin/sh
#
# $OpenBSD: tproxy.rc,v 1.1 2011/03/07 07:25:40 ajacoutot Exp $
daemon="${TRUEPREFIX}/sbin/tproxy"
daemon_flags="-p -s 3128 -r _tproxy 127.0.0.1 3128"
. /etc/rc.d/rc.subr
rc_reload=NO
rc_cmd $1