1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-17 17:47:03 +00:00

Allow use of privileged ports in init script

This commit is contained in:
James Hillyerd
2012-11-06 09:45:47 -08:00
parent 5fe57f2e3f
commit a246be6e5f

View File

@@ -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() {