mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 17:59:31 +02:00
Allow for listening on privileged ports
Let systemd give ejabberd the capability to bind to ports below 1024.
This commit is contained in:
parent
e919171393
commit
7844d86ea3
1 changed files with 1 additions and 0 deletions
|
@ -15,6 +15,7 @@ ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabber
|
||||||
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
||||||
NotifyAccess=all
|
NotifyAccess=all
|
||||||
PrivateDevices=true
|
PrivateDevices=true
|
||||||
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
||||||
TimeoutSec=300
|
TimeoutSec=300
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue