Skip to content

stop command for ztaskd #5

@stefantalpalaru

Description

@stefantalpalaru

I needed to stop the ztaskd server with a command so I implemented a solution here: https://gist.github.com/2053876
The --pidfile option needs to be specified both when starting and when stopping the server.

I also tried to daemonize ztaskd using django.utils.daemonize.become_daemon but I ran into a zeromq assertion killing the parent so I ended up using a shell wrapper instead. It would be nice to have a proper --daemonize option in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions