The init script in Debian package offered in repository at
http://packages.prosody.im/debian does not have support for checking the status
of the service (whether the service is running or not).
This can cause some issues for configuration management systems that check if
the service is not running or not, or for monitoring tools (if you want to
depend on standard ways to invoke those checks).
Steps to reproduce:
1. Install Prosody via Debian repository offered by prosody.im.
2. Try checking the status of Prosody service by running:
service prosody status
Expected results:
The Prosody service is reported to be started or stopped. An appropriate error
code is returned by the call (0 if service is started, non-0 otherwise).
Actual results:
The status command is not recognised. Instead the init script usage is
displayed:
----%----
[info] Usage: /etc/init.d/prosody {start|stop|restart|reload}.
----%----
Environment:
Debian 7 Wheezy, i386
Prosody 0.9.7 (package 0.9.7-1~wheezy1) from http://packages.prosody.im/debian.
From what I can tell, this should be rather easy to resolve. I'm attaching a
patch that seems to work fine for me at least.
Small note:
I don't really check this e-mail account, but I will have a look here and there
on the issue if there's any feedback needed :)
Original issue reported on code.google.com by branko.m...@gmail.com on 6 Feb 2015 at 8:51
Original issue reported on code.google.com by
branko.m...@gmail.com
on 6 Feb 2015 at 8:51Attachments: