mirror of
https://github.com/processone/ejabberd.git
synced 2024-10-07 14:58:56 +02:00
18 lines
341 B
Plaintext
18 lines
341 B
Plaintext
[Unit]
|
|
Description=XMPP Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=ejabberd
|
|
Group=ejabberd
|
|
LimitNOFILE=16000
|
|
RestartSec=5
|
|
ExecStart=/bin/sh @ctlscriptpath@/ejabberdctl start
|
|
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
|
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|