files/init.d/thumbor: Change the default port to 8888
Avoid:
Traceback (most recent call last):
File "/usr/lib/python-exec/python2.7/thumbor", line 9, in <module>
load_entry_point('thumbor==4.5.4', 'console_scripts', 'thumbor')()
File "/usr/lib64/python2.7/site-packages/thumbor/server.py", line 87, in main
server.bind(context.server.port, context.server.ip)
File "/usr/lib64/python2.7/site-packages/tornado/tcpserver.py", line 162, in bind
backlog=backlog)
File "/usr/lib64/python2.7/site-packages/tornado/netutil.py", line 90, in bind_sockets
sock.bind(sockaddr)
File "/usr/lib64/python2.7/socket.py", line 224, in meth
return getattr(self._sock,name)(*args)
socket.error: [Errno 13] Permission denied
because port 80 is a privledged port, and it's not worth using an
additional service like authbind [1] to give us the capability to bind
to it. 8888 is unprivileged, and it's Thumbor's default [2]
[1]: http://en.wikipedia.org/wiki/Authbind
[2]: https://github.com/thumbor/thumbor/wiki/Running#-p-or---port