ejabberd - Comments for "ejabberd as a service on CentOS 7" https://www.ejabberd.im/node/24896 en I've also encountered this https://www.ejabberd.im/node/24896#comment-66286 <p>I've also encountered this while trying to build a package with ejabberd-15.10<br /> In fact you can still use pkexec and ejabberd:<br /> You just need to create a script with following content (ejabberd-15.10 installed ejabberdctl to /usr/sbin):<br /> #!/bin/sh<br /> /usr/bin/pkexec /usr/sbin/ejabberdctl "$@"</p> <p>And actually point systemd service to your custom script. Also you'll need to fix polkit rules to allow /usr/sbin/ejabberdctl.</p> Mon, 02 Nov 2015 17:31:21 +0000 Civil comment 66286 at https://www.ejabberd.im I have our 15.04 binary https://www.ejabberd.im/node/24896#comment-65553 <p>I have our 15.04 binary installer working a a clean CentOS7 without problems.<br /> please note use of pkexec comes from an extra packaging stage i'm not aware of so i can not help on this. i highly suggest to use standard ejabberdctl script which rely on /bin/sh indeed.</p> <p>from default installation, you get /opt/ejabberd-15.04/bin/ejabberd.service. if you need some changes for CentOS/RHEL, please suggest a pull request on github so i can push upstream.</p> Wed, 13 May 2015 09:33:16 +0000 chris_romain comment 65553 at https://www.ejabberd.im Cool. I'm stuck with 14.07 https://www.ejabberd.im/node/24896#comment-65543 <p>Cool. I'm stuck with 14.07 for now because for reasons I have not diagnosed, the ejabberd binary installer does not work on CentOS 7, and 14.07 is what is available in the EPEL repository. Would love to upgrade, however...</p> Sat, 09 May 2015 13:39:21 +0000 drdread comment 65543 at https://www.ejabberd.im Just a note: the latest https://www.ejabberd.im/node/24896#comment-65538 <p>Just a note: the latest version no longer uses <em>pkexec</em> in the bash scripts.</p> Wed, 06 May 2015 22:42:42 +0000 - comment 65538 at https://www.ejabberd.im