aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/mldonkey/Makefile2
-rw-r--r--net-p2p/mldonkey/files/mlnet.in7
2 files changed, 8 insertions, 1 deletions
diff --git a/net-p2p/mldonkey/Makefile b/net-p2p/mldonkey/Makefile
index 87d59f976ffc..d3d7307d5233 100644
--- a/net-p2p/mldonkey/Makefile
+++ b/net-p2p/mldonkey/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mldonkey
PORTVERSION= 3.0.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES+= net-p2p
MASTER_SITES= SF
diff --git a/net-p2p/mldonkey/files/mlnet.in b/net-p2p/mldonkey/files/mlnet.in
index 513a84eecfd0..a0e79844781c 100644
--- a/net-p2p/mldonkey/files/mlnet.in
+++ b/net-p2p/mldonkey/files/mlnet.in
@@ -45,6 +45,13 @@ start_precmd="mlnet_check_vars"
start_cmd="start_cmd"
start_cmd()
{
+ if [ -z "${rc_fast}" -a -n "${rc_pid}" ]; then
+ echo 1>&2 "${name} already running? (pid=${rc_pid})."
+ return 1
+ fi
+
+ check_startmsgs && echo "Starting ${name}."
+
if [ -n "${mlnet_logfile}" ]; then
mlnet_logcommand="-log_file ${mlnet_logfile}"
else