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:
parent
c3b62d2f75
commit
686305bb21
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user