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

Add support for global and process pre/post commands to yaml #6

Open
stuartcarnie opened this issue Jun 15, 2020 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@stuartcarnie
Copy link
Owner

What

Global pre / post commands

Global pre / post commands must run when gopm starts and stops. If the pre command returns a non-zero exit code, it should not start any processes.

Process pre / post commands

Each process can also provide a pre / post command. Prior to starting the process, gopm will run the pre command and prevent the process from starting for non-zero exit codes. On shutdown, the post command should run. Exit code can be logged but has no consequence.

@stuartcarnie stuartcarnie added the enhancement New feature or request label Jun 17, 2020
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