aboutsummaryrefslogtreecommitdiff
path: root/include/mod_vcard.hrl
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@saftware.de>2020-11-19 20:43:51 +0100
committerAndreas Oberritter <obi@saftware.de>2020-11-19 20:43:51 +0100
commit5c6ffaafd686e1448e2a7e92f70f8001e244bcfe (patch)
treed7b93d93bcd5cd01530280bccf5e022afe257631 /include/mod_vcard.hrl
parentProvide name when pushing new roster item in shared roster group (#3427) (diff)
Let systemd start ejabberd in foreground
Daemons started by systemd shouldn't fork into the background if possible, because if multiple forked processes exist, systemd has a hard time determining the main process ID. In a memory constrained environment, the OOM killer may cause ejabberd to exit without any trace. Because epmd keeps running, systemd wouldn't notice the error condition, and as a result it won't restart the server. With ejabberd running in foreground, systemd is able to obtain the correct exit code (137 in this case, instead of 0) and schedules a restart. The administrator can then see what happend by looking at systemctl status ejabberd.
Diffstat (limited to 'include/mod_vcard.hrl')
0 files changed, 0 insertions, 0 deletions