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
1 changed files with 1 additions and 2 deletions

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