1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=A distributed, fault-tolerant Jabber/XMPP server After=network.target [Service] Type=forking User=ejabberd LimitNOFILE=16000 RestartSec=5 ExecStart=/usr/bin/ejabberdctl start ExecStop=/usr/bin/ejabberdctl stop [Install] WantedBy=multi-user.target