blob: 036cc7c535ebecf2a282b92c55a728f695597876 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
[Unit]
Description=A distributed, fault-tolerant Jabber/XMPP server
After=network.target
[Service]
Type=forking
User=ejabberd
LimitNOFILE=16000
RestartSec=5
ExecStart=/usr/bin/erl -pa /usr/lib/ejabberd/ebin -sname ejabberd -s ejabberd -ejabberd config \"/etc/ejabberd/ejabberd.cfg\" log_path \"/var/log/ejabberd/ejabberd.log\" -sasl sasl_error_logger \{file,\"/var/log/ejabberd/sasl.log\"\} -mnesia dir \"/var/lib/ejabberd\" -detached -kernel inetrc \"/etc/ejabberd/inetrc\"
[Install]
WantedBy=multi-user.target
|