diff options
author | jmmv <jmmv@pkgsrc.org> | 2003-06-02 15:20:06 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2003-06-02 15:20:06 +0000 |
commit | 238444b6afb0d266f99d801d059919ffd644631e (patch) | |
tree | 4156441eee955ca9b3052d32349e2c0213986eb2 /chat/dircproxy/files | |
parent | 26366b734c76729b2f04949f30cd92c13243f9df (diff) | |
download | pkgsrc-238444b6afb0d266f99d801d059919ffd644631e.tar.gz |
Update to 1.0.5; some of the changes:
* New 'pid_file', 'allow_users' and 'allow_kill' config directives.
* New -p command line parameter (adjusts pid_file).
* Included contrib scripts, cronchk.sh and privmsg-log.pl
* New 'server_keepalive' config directive.
* Bug fixes.
Changes in the package:
* We need perl to run some of the installed scripts.
* Provide a rc.d script to run the daemon.
* Honour PKG_SYSCONFDIR.
Closes PR pkg/21644 by Juan RP.
Diffstat (limited to 'chat/dircproxy/files')
-rw-r--r-- | chat/dircproxy/files/dircproxy.sh | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/chat/dircproxy/files/dircproxy.sh b/chat/dircproxy/files/dircproxy.sh new file mode 100644 index 00000000000..a015ad8b6e6 --- /dev/null +++ b/chat/dircproxy/files/dircproxy.sh @@ -0,0 +1,19 @@ +#!@SH@ +# +# $NetBSD: dircproxy.sh,v 1.1 2003/06/02 15:20:08 jmmv Exp $ +# + +# PROVIDE: dircproxy +# REQUIRE: DAEMON + +. /etc/rc.subr + +name="dircproxy" +rcvar=$name +command="@PREFIX@/bin/${name}" +command_args="-f @PKG_SYSCONFDIR@/${name}rc -p /var/run/${name}.pid" +pidfile="/var/run/${name}.pid" +required_files="@PKG_SYSCONFDIR@/${name}rc" + +load_rc_config $name +run_rc_command "$1" |