Ubuntu 16.04
ejabberd 16.01 from apt
/etc/ejabberd/ejabberd.yml
auth_method: external
extauth_program: "python2 /opt/im-isikhnas/ejabberd_check_ausvet.py"
/opt is 777
/opt/im-isikhnas/ is 777
/opt/im-isikhnas/ejabberd_check_ausvet.py is 777
if i run `python2 /opt/im-isikhnas/ejabberd_check_ausvet.py` as user ejabberd it works fine, it doesn't quit, I can type away and it will keep going.
I've been working away at this for weeks and I've tried everything.
I've rewritten the script four times,
I've used the generic extauth scripts from the ejabberd website,
I've used python3 and python2.
I've moved the directory that the script is housed in four times.
I've used virtual envs, i've used system python env.
I've removed my environ vars.
can someone give me some advice on how I can understand why it won't work?
I'm completely out of ideas.