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
|
@ -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…
Reference in New Issue