Quote:
|
I am calling the Python script using command "python /path_to_server_script" from the init.d scrip.
|
Well there you go then. Don't do that. Make sure your Python script is executable (chmod a+x /path_to_server_script), and just call it directly (e.g `/path_to_server_script`).