Allow for listening on privileged ports

Let systemd give ejabberd the capability to bind to ports below 1024.
This commit is contained in:
Holger Weiss 2021-01-06 18:56:08 +01:00
parent e919171393
commit 7844d86ea3
1 changed files with 1 additions and 0 deletions

View File

@ -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]