From a246be6e5fe08b8695bf4eca516cca529201acb6 Mon Sep 17 00:00:00 2001 From: James Hillyerd Date: Tue, 6 Nov 2012 09:45:47 -0800 Subject: [PATCH] Allow use of privileged ports in init script --- etc/redhat-el6/inbucket-init.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/etc/redhat-el6/inbucket-init.sh b/etc/redhat-el6/inbucket-init.sh index 858245a..504a3a7 100755 --- a/etc/redhat-el6/inbucket-init.sh +++ b/etc/redhat-el6/inbucket-init.sh @@ -46,6 +46,8 @@ perms_check() { chown $runas: /var/run/$prog touch $logfile chown $runas: $logfile + # Allow bind to ports under 1024 + setcap 'cap_net_bind_service=+ep' $program } start() {