Allow for listening on privileged ports

Let systemd give ejabberd the capability to bind to ports below 1024.
pull/3478/head
Holger Weiss 2 years ago
parent e919171393
commit 7844d86ea3

@ -15,6 +15,7 @@ ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabber
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
NotifyAccess=all
PrivateDevices=true
AmbientCapabilities=CAP_NET_BIND_SERVICE
TimeoutSec=300
[Install]

Loading…
Cancel
Save