forked from ports/contrib
mldonkey: Fixed FS#213 and cleanup.
This commit is contained in:
parent
9c09242090
commit
00156a98f7
@ -2,11 +2,12 @@
|
||||
# URL: http://mldonkey.sourceforge.net/
|
||||
# Maintainer: Jose V Beneyto, sepen at users dot sourceforge dot net
|
||||
# Packager: Jose V Beneyto, sepen at users dot sourceforge dot net
|
||||
# Depends on: ocaml,libgd,bzip2
|
||||
# Depends on: ocaml,bzip2
|
||||
# Optional: libgd
|
||||
|
||||
name=mldonkey
|
||||
version=2.9.3
|
||||
release=1
|
||||
release=2
|
||||
source=(http://dl.sourceforge.net/sourceforge/${name}/${name}-${version}.tar.bz2 \
|
||||
mlnetd)
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
README for mldonkey 2.9.3
|
||||
README for mldonkey 2.9.2
|
||||
|
||||
REQUIREMENTS
|
||||
|
||||
|
@ -3,10 +3,13 @@
|
||||
# /etc/rc.d/mlnetd: start/stop mldonkey daemon
|
||||
#
|
||||
|
||||
LOG_FILE=/var/log/mlnetd
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
export MLDONKEY_DIR=/var/mlnet
|
||||
su mldonkey -c "mlnet -run_as_user mldonkey >/dev/null" &
|
||||
su mldonkey -c \
|
||||
"mlnet -run_as_user mldonkey 2>&1 >/dev/null" 2>&1 >$LOG_FILE &
|
||||
;;
|
||||
stop)
|
||||
pkill mlnet
|
||||
|
Loading…
x
Reference in New Issue
Block a user