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

Newt runner improvements #8

Open
3 tasks
rsdoiel opened this issue Feb 29, 2024 · 0 comments
Open
3 tasks

Newt runner improvements #8

rsdoiel opened this issue Feb 29, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsdoiel
Copy link
Member

rsdoiel commented Feb 29, 2024

Right now newt can run both newt router and mustache engine. To make development convenient it would be nice to have it also manage starting and stopping PostgREST when the scheme/sql get changed or data base reloaded. To be able to do that I would need to be able to do the following

  • launch PostgREST with the right config file tracking the pid of the process
  • newt would need to handle signals like SIGTERM and SIGHUP with notification also sent to PostgREST.
  • newt would need to handle SIGKILL with a message that indicates the PostgREST process is could still be running.
@rsdoiel rsdoiel added the enhancement New feature or request label Feb 29, 2024
@rsdoiel rsdoiel added this to the Prototype 2 milestone Feb 29, 2024
@rsdoiel rsdoiel self-assigned this Feb 29, 2024
@rsdoiel rsdoiel removed this from the Prototype 2 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant