https://bugzilla.redhat.com/show_bug.cgi?id=1163812
stephane de Labrusse <stephdl(a)de-labrusse.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |stephdl(a)de-labrusse.fr
--- Comment #20 from stephane de Labrusse <stephdl(a)de-labrusse.fr> ---
I hit this big on centos7 and ejabberd-18.06, I solved it in my case by this
systemd script :
# /usr/lib/systemd/system/ejabberd.service
[unit]
Description=XMPP Server
After=network.target
[Service]
Type=forking
User=ejabberd
Group=ejabberd
LimitNOFILE=65536
Restart=on-failure
RestartSec=5
Environment=LOGS_DIR=/var/log/ejabberd
Environment=EJABBERD_CONFIG_PATH=/etc/ejabberd/ejabberd.yml
Environment=SPOOL_DIR=/var/lib/ejabberd
ExecStart=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl start &&
/opt/ejabberd-18.06/bin/ejabberdctl started'
ExecStop=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl stop &&
/opt/ejabberd-18.06/bin/ejabberdctl stopped'
ExecReload=/bin/sh -c '/opt/ejabberd-18.06/bin/ejabberdctl reload_config'
PrivateDevices=true
[Install]
WantedBy=multi-user.target
I can control now ejabberd by systemd and ejabberdctl
--
You are receiving this mail because:
You are on the CC list for the bug.