mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
686305bb21
ejabberd is not a "oneshot" process.
19 lines
352 B
Plaintext
19 lines
352 B
Plaintext
[Unit]
|
|
Description=XMPP Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=ejabberd
|
|
Group=ejabberd
|
|
LimitNOFILE=16000
|
|
RestartSec=5
|
|
ExecStart=@ctlscriptpath@/ejabberdctl start
|
|
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
|
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
|
PrivateDevices=true
|
|
ProtectSystem=full
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|