10Jul/121
prosody 0.8.2. still waiting
I tried to start prosody with user-privileges (with user/group prosody) but I kept getting this message from prosodyctl start:
Still waiting... Proody is still not running. Please give it some time or check your log files for errors.
But there were no errors in the log-file. If I deleted the log-file nothing was created again. I tried giving all the prosody folders 777 rights and chown'd them to the prosody-user, still...same error. I then went to the Prosody MUC. Once again, Zash helped me to isolate the error: the pid-file could not be written by the user. So I just changed the line
pidfile="/var/run/prosody.pid"
to:
pidfile="/home/prosody/prosody.pid"
Send to Kindle
Donate Bitcoins to: 124ndTUDwuZnUbFxxypzNPX5jvKK88SyLg



November 14th, 2012
You can also achieve like this:
mkdir /var/run/prosody
chown prosody:prosody /var/run/prosody
and add this line to your conf file:
pidfile = “/var/run/prosody/prosody.pid”