Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

restart scrapyd service after changing scrapyd.conf #51

Open
eLRuLL opened this issue Jun 17, 2017 · 1 comment
Open

restart scrapyd service after changing scrapyd.conf #51

eLRuLL opened this issue Jun 17, 2017 · 1 comment

Comments

@eLRuLL
Copy link

eLRuLL commented Jun 17, 2017

it would be really good if there would be a simple way to restart the scrapyd service after the configuration file scrapyd.conf is changed, or even in any circumstance without killing the current running scrapy jobs.

When installed in debian or ubuntu with apt-get you can normally use it a service with service scrapyd restart, which is very handy in these situations.

Could you please share how would you restart this on your docker configuration? I would really appreciate it.

Currently I am stopping the docker instance and starting (up) it again, which kills the current jobs :(

@vimagick
Copy link
Owner

You can run docker restart or docker-compose restart.
I haven't found a way to restart without killing running jobs.

Do you mean: service scrapyd restart can keep old jobs running?
I didn't notice that before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants