--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: init.d status support
- From: Peter Eisentraut <petere@debian.org>
- Date: Sat, 05 Nov 2011 18:26:59 +0200
- Message-id: <20111105162659.14062.55881.reportbug@vanquo.pezone.net>
Package: mldonkey-server
Version: 3.1.0-2
Severity: wishlist
Tags: patch
Here is a patch to add support for the "status" action to the init.d
script of mldonkey-server.
diff -Nru mldonkey-3.1.0/debian/changelog mldonkey-3.1.0/debian/changelog
--- mldonkey-3.1.0/debian/changelog 2011-09-15 01:04:12.000000000 +0300
+++ mldonkey-3.1.0/debian/changelog 2011-11-05 18:05:10.000000000 +0200
@@ -1,3 +1,9 @@
+mldonkey (3.1.0-2.1) UNRELEASED; urgency=low
+
+ * Add support for "status" action to mldonkey-server init script
+
+ -- Peter Eisentraut <petere@debian.org> Sat, 05 Nov 2011 18:04:49 +0200
+
mldonkey (3.1.0-2) unstable; urgency=low
* Remove /var/lib/mldonkey on purge
diff -Nru mldonkey-3.1.0/debian/control mldonkey-3.1.0/debian/control
--- mldonkey-3.1.0/debian/control 2011-09-15 01:01:03.000000000 +0300
+++ mldonkey-3.1.0/debian/control 2011-11-05 18:05:24.000000000 +0200
@@ -37,6 +37,7 @@
${ocaml:Depends},
${misc:Depends},
adduser,
+ lsb-base,
mime-support,
debconf,
ucf
diff -Nru mldonkey-3.1.0/debian/mldonkey-server.init mldonkey-3.1.0/debian/mldonkey-server.init
--- mldonkey-3.1.0/debian/mldonkey-server.init 2011-09-15 01:01:03.000000000 +0300
+++ mldonkey-3.1.0/debian/mldonkey-server.init 2011-11-05 18:04:05.000000000 +0200
@@ -33,6 +33,8 @@
LOGFILE=/var/log/mldonkey/mldonkey-server.log
SERVERLOG=/var/log/mldonkey/mlnet.log
+. /lib/lsb/init-functions
+
test -e $CONFIG || exit 0
set -e
@@ -149,8 +151,12 @@
$0 start
;;
+ status)
+ status_of_proc "$EXEC" "$NAME" && exit 0 || exit $?
+ ;;
+
*)
- Error 1 "Usage: $0 {start|stop|restart|force-reload|force-start}"
+ Error 1 "Usage: $0 {start|stop|restart|force-reload|force-start|status}"
;;
esac
--- End Message ---
--- Begin Message ---
Source: mldonkey
Source-Version: 3.1.5-1
We believe that the bug you reported is fixed in the latest version of
mldonkey, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 647719@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mehdi Dogguy <mehdi@debian.org> (supplier of updated mldonkey package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Thu, 27 Mar 2014 00:37:41 +0100
Source: mldonkey
Binary: mldonkey-server mldonkey-gui
Architecture: source amd64
Version: 3.1.5-1
Distribution: unstable
Urgency: low
Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
Changed-By: Mehdi Dogguy <mehdi@debian.org>
Description:
mldonkey-gui - Graphical frontend for mldonkey based on GTK+
mldonkey-server - Door to the 'donkey' network
Closes: 647719 708870
Changes:
mldonkey (3.1.5-1) unstable; urgency=low
.
[ Mehdi Dogguy ]
* New upstream release.
* Redirect startup output into the log file (Closes: #708870)
.
[ Peter Eisentraut ]
* Add support for "status" action to mldonkey-server init script (Closes: #647719)
Checksums-Sha1:
7abb6706770abee7b6396d15c2e4bd5d432dbf68 2362 mldonkey_3.1.5-1.dsc
77ffbff6b787b0cb47f81010c630eee4e539b930 2791647 mldonkey_3.1.5.orig.tar.bz2
d2d13922c99ea101cd239ffe6a95309250132325 106884 mldonkey_3.1.5-1.debian.tar.xz
23a98eb5c6ff849e960d882faf09647c28a3219b 2458344 mldonkey-server_3.1.5-1_amd64.deb
a3dbbcc02c9c46c441de22cac821010ae8ce7125 2443538 mldonkey-gui_3.1.5-1_amd64.deb
Checksums-Sha256:
f5322233d33eae8bec5a1f1aa210ef16f0f2bf5adb09bb6001041025a6e85ab9 2362 mldonkey_3.1.5-1.dsc
43e65667d7f8288757a18d57aeffe0780cc2e71cc92a30f15da42f3a4686bd1b 2791647 mldonkey_3.1.5.orig.tar.bz2
c909637160f4f39b4272ad9557a624144b728c81d2fe6f659ba80498d6b02406 106884 mldonkey_3.1.5-1.debian.tar.xz
a2cc1ad08c1e90098515f05d3795f4530ac933fa04fd7e003ac97b2ec7b0e434 2458344 mldonkey-server_3.1.5-1_amd64.deb
3e9466667676c43c97c1e449b0ad3ef99e85fc83dc515ecdc9ca80cc043194e7 2443538 mldonkey-gui_3.1.5-1_amd64.deb
Files:
96a6a1bfc21ca00ff1f519dd3e0828ed 2362 net optional mldonkey_3.1.5-1.dsc
3fc35f574be1f009e66bb98e91552163 2791647 net optional mldonkey_3.1.5.orig.tar.bz2
79b9bf263faf60f6caf59c30eabbbef6 106884 net optional mldonkey_3.1.5-1.debian.tar.xz
55201c0626dd65b303f7ad5aa76a7aa4 2458344 net optional mldonkey-server_3.1.5-1_amd64.deb
e337144bdc727e299dd9d10bf5586415 2443538 net optional mldonkey-gui_3.1.5-1_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQIcBAEBCAAGBQJTM2btAAoJEDO+GgqMLtj/wb8P/Rka7u2tAFMjjhSkmEqKz5to
HgTPhdvkIepunMTv2bPtrbgWlVvNCyf32JoDK5otEAjoDTUmG0o2IwiX1gb7byJM
sHbE0ghOIyUGwWQjqZm0aXM3OGbB92/e0bEuf1vilab4cKZeSYtXLyPdJgzraKYg
PXBXqqC+MEsi9zwXD/QPvCjYEKqp0Z+UlxOFXUTdj3RZzve+9qKek60xlxYRmsJL
Bc6FwA7414ZU1lz0sdrhoVtXFoAPRZiJYEtlGZyF6ydzMzXLfEMq7Fa2+36lHv98
UK5VSjnrArykSSDwmZFT9s2nbCon6wdsa/WYPruV+1utWg+T+k77SKzyk2Da+DNZ
b8KNrFOGIHj+9jOw2y/fiTIQuwnq0ih+J5sAQmeYPT5CBdFRrTxQ8SCfw310PFTP
8C3Wa8LJ/FluzMUk16uhPp6PH5+tdQ81LJ2EULnY5NSTDQuGbuqyvfnbfGO9zi8H
DXssC/HmJRt86ZyYtsvBwOyKfshD8LqGXFF1Jj35eS4FtHJjjACtETYzYIRTTV+f
Ru8qv/wZyLM9AlJ53jnSDEWuU5/Z+hRY8dWa3p10ONsdW9eBTTvO6IU2FwqNVs4f
DUvpCncXNq9k4UUhz4XjR7YiN+p6m0H4Sa/seC+Lvi/Jt64RdLjmBWhkTeuJaqGr
54FYslU3evsmvWvp8r/i
=KwMU
-----END PGP SIGNATURE-----
--- End Message ---