[kwlug-disc] Systemd unit file help

Ronald Barnes ron at ronaldbarnes.ca
Fri Apr 21 22:26:14 EDT 2017


Greetings,

Trying to write a systemd unit file to launch an XMPP server (ejabberd).

When running the server via ejabberdctl ... start then one has a process 
called "beam.smp" and ejabberdctl (a bash script) has exited.


This leads me to think I need a service Type=forking.

However, I only have success with Type=simple and am left with two 
processes running: ejabberdctl and beam.smp.


Anyone have any tips or pointers?

i.e. Should I consider Type=oneshot?


Thanks in advance!

rb




More information about the kwlug-disc mailing list