Hi Raphael. Thanks for the report. I propose the following patch. It kind of hides the fact that you can modify the uid/gid of jabberd2 from the defaults file since that probably isn't something we want to encourage, however if someone adds USER/GROUP to her default-file, it will work. Thoughts?
/Simon diff --git a/debian/default b/debian/default index be9828c..a2f249a 100644 --- a/debian/default +++ b/debian/default @@ -2,10 +2,6 @@ # sourced by /etc/init.d/jabberd2 # installed at /etc/default/jabberd2 by the maintainer scripts -# user and group -USER=jabber -GROUP=jabber - # run router ROUTER_RUN=1 diff --git a/debian/init b/debian/init index d71be91..97903c7 100644 --- a/debian/init +++ b/debian/init @@ -13,6 +13,8 @@ set -e +USER=jabber +GROUP=jabber test -f /etc/default/jabberd2 && . /etc/default/jabberd2 COMPONENTDPATH=/etc/jabberd2/component.d
pgphXYHG1o_PV.pgp
Description: OpenPGP digital signatur