Seafile-server support on Mac OS X: Checking for the existence of a process ID by sending signal 0.

In order to improve support of Seafile-server on Mac OS X I suggest checking for the existence of a process ID by sending signal 0 instead of testing process directory in /proc filesystem, because there is no /proc filesystem on Mac OS X.

Can you use 4-space indent instead of tab?