mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-20 17:27:00 +01:00
a5e737157c
16,000 file descriptors will only suffice for small setups.
19 lines
318 B
Plaintext
19 lines
318 B
Plaintext
[Unit]
|
|
Description=XMPP Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=ejabberd
|
|
Group=ejabberd
|
|
LimitNOFILE=65536
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
ExecStart=@ctlscriptpath@/ejabberdctl start
|
|
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
|
PrivateDevices=true
|
|
ProtectSystem=full
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|