blob: 47e5f2e2734765172b19b99b3dbdb6cd082c5837 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
[Unit]
Description=A distributed, fault-tolerant Jabber/XMPP server
After=network.target
[Service]
Type=oneshot
User=ejabberd
Group=jabber
LimitNOFILE=16000
RestartSec=5
ExecStart=/usr/sbin/ejabberdctl \
--config /etc/ejabberd/ejabberd.cfg \
--ctl-config /etc/ejabberd/ejabberdctl.cfg \
--logs "/var/log/ejabberd" \
--spool "/var/lib/ejabberd" start
ExecStop=/usr/sbin/ejabberdctl stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
|