summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/mldonkey/Makefile4
-rw-r--r--net/mldonkey/files/mldonkey.sh3
2 files changed, 5 insertions, 2 deletions
diff --git a/net/mldonkey/Makefile b/net/mldonkey/Makefile
index 1a33176bd77..27db424c7b5 100644
--- a/net/mldonkey/Makefile
+++ b/net/mldonkey/Makefile
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.33 2006/01/06 17:01:12 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2006/01/24 15:21:22 jmmv Exp $
#
.include "Makefile.common"
+PKGREVISION= 1
+
RCD_SCRIPTS= mldonkey
BUILD_DEFS+= MLDONKEY_GROUP MLDONKEY_HOME MLDONKEY_USER
diff --git a/net/mldonkey/files/mldonkey.sh b/net/mldonkey/files/mldonkey.sh
index bb2c20f39b0..0586b454ec2 100644
--- a/net/mldonkey/files/mldonkey.sh
+++ b/net/mldonkey/files/mldonkey.sh
@@ -1,6 +1,6 @@
#!@RCD_SCRIPTS_SHELL@
#
-# $NetBSD: mldonkey.sh,v 1.3 2004/12/25 19:13:34 jmmv Exp $
+# $NetBSD: mldonkey.sh,v 1.4 2006/01/24 15:21:22 jmmv Exp $
#
# KEYWORD: shutdown
# PROVIDE: mldonkey
@@ -27,6 +27,7 @@ mldonkey_start() {
else
@ECHO@ " ${name}"
fi
+ ulimit -n `ulimit -H -n`
@SU@ -l ${mldonkey_user} \
-c "${command} ${mldonkey_flags} ${command_args}" &
}