diff options
Diffstat (limited to 'chat/jabberd2/files/c2s.sh')
-rwxr-xr-x | chat/jabberd2/files/c2s.sh | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/chat/jabberd2/files/c2s.sh b/chat/jabberd2/files/c2s.sh index a783b7c8d50..d5879d2dbef 100755 --- a/chat/jabberd2/files/c2s.sh +++ b/chat/jabberd2/files/c2s.sh @@ -1,6 +1,6 @@ #!@RCD_SCRIPTS_SHELL@ # -# $NetBSD: c2s.sh,v 1.3 2010/04/15 07:01:23 adam Exp $ +# $NetBSD: c2s.sh,v 1.4 2010/06/10 10:36:22 adam Exp $ # # PROVIDE: c2s # REQUIRE: DAEMON @@ -24,6 +24,7 @@ ensure_piddir() { mkdir -p @JABBERD_PIDDIR@ chown @JABBERD_USER@ @JABBERD_PIDDIR@ + ulimit -n 1024 } remove_pidfile() @@ -33,11 +34,6 @@ remove_pidfile() fi } -limits_precmd() -{ - ulimit -n 1024 -} - if [ -f /etc/rc.subr ]; then load_rc_config $name run_rc_command "$1" |