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