You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-im/ejabberd/files/ejabberd.service

18 lines
422 B

[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