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

Daemonizer #208

Open
5 tasks done
christianbrb opened this issue Aug 12, 2019 · 0 comments
Open
5 tasks done

Daemonizer #208

christianbrb opened this issue Aug 12, 2019 · 0 comments
Labels
Refactoring Issues involving cleaning up or removing code from the repository.

Comments

@christianbrb
Copy link
Contributor

christianbrb commented Aug 12, 2019

In order to run the SP concurrently, we need to run our SPaaS services in the background.

The easiest way to manage this, is running them as well-behaved daemons.

Write a class which achieves the following:

  • Detaches a process from its parent, turning it into a daemon using a double fork.
  • Sets up a pidfile to track a daemon
  • Allows idempotent starting of the daemon
  • Allows stopping the daemon
  • Manages redirection of stdout, stderr, stdin
@christianbrb christianbrb added this to the Product Backlog milestone Aug 12, 2019
@christianbrb christianbrb removed this from the Product Backlog milestone Aug 12, 2019
@deepbrook deepbrook self-assigned this Aug 13, 2019
@christianbrb christianbrb added this to the Product Backlog milestone Sep 27, 2019
@christianbrb christianbrb added the Refactoring Issues involving cleaning up or removing code from the repository. label Sep 27, 2019
@deepbrook deepbrook removed their assignment Mar 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactoring Issues involving cleaning up or removing code from the repository.
Projects
None yet
Development

No branches or pull requests

2 participants