i created a celeryd file in /etc/defaults/ from the code here:
https://github.com/celery/celery/blob/3.0/extra/generic-init.d/celeryd
Now when I want to run
I am not sure what you are doing here but these are the steps to run celery as a daemon.
/etc/init.d folder with the name
celeryd/etc/default with the name celeryd that is used by the above
script. This configuration file basically defines certain variables
and paths that are used by the above script. Here's an example configuration.