Skip to content

Sleep on restart #9

Open
Open
@iuriguilherme

Description

@iuriguilherme

You should add sleep 1 between the stop and start on the restart command as done on this fork.

It is a workaround for the fact that the celery-worker process sometimes take too long to stop and when the new process tries to start, the pid file is already there. There are other ways to solve this issue, but since a link to this repository is on the deploy recipe, you should at least patch it.

Actually the script should handle this the "proper" way as the Debian guidelines says, but whatever.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions