Skip to content

feat: restart scrapyd on failure#636

Merged
RobHooper merged 2 commits into
mainfrom
scrapyd-systemd
Jul 15, 2026
Merged

feat: restart scrapyd on failure#636
RobHooper merged 2 commits into
mainfrom
scrapyd-systemd

Conversation

@RobHooper

@RobHooper RobHooper commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Resolves #563

I am assuming that Scrapyd returns a non-zero exit code on failure. If this is not the case we can use Restart=always
Further reading.

@RobHooper RobHooper requested a review from jpmckinney July 13, 2026 14:07
@RobHooper RobHooper self-assigned this Jul 13, 2026
@jpmckinney

Copy link
Copy Markdown
Member

Yes, it has non-zero exit on failure (e.g. when running two processes on the same port).

Comment thread salt/core/systemd/files/scrapyd.service Outdated
Comment thread salt/core/systemd/files/scrapyd.service Outdated
Comment thread salt/core/systemd/files/scrapyd.service
@RobHooper RobHooper merged commit 00537c8 into main Jul 15, 2026
12 checks passed
@RobHooper RobHooper deleted the scrapyd-systemd branch July 15, 2026 07:03
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

Successfully merging this pull request may close these issues.

Scrapyd failing to start after an unclean shutdown

2 participants