25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

Use "Type=forking" in systemd unit

ejabberd is not a "oneshot" process.
This commit is contained in:
Holger Weiss 2016-10-19 23:32:07 +02:00
parent c3b62d2f75
commit 686305bb21

View File

@ -3,6 +3,7 @@ Description=XMPP Server
After=network.target
[Service]
Type=forking
User=ejabberd
Group=ejabberd
LimitNOFILE=16000
@ -10,8 +11,6 @@ RestartSec=5
ExecStart=@ctlscriptpath@/ejabberdctl start
ExecStop=@ctlscriptpath@/ejabberdctl stop
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
Type=oneshot
RemainAfterExit=yes
PrivateDevices=true
ProtectSystem=full