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

Feat: anvil -d, anvil restart, anvil exit, anvil status (container fixes) #2806

Open
Tracked by #8269
sambacha opened this issue Aug 16, 2022 · 0 comments
Open
Tracked by #8269
Labels
C-anvil Command: anvil P-low Priority: low T-feature Type: feature

Comments

@sambacha
Copy link
Contributor

sambacha commented Aug 16, 2022

Component

Anvil

Describe the feature you would like

Anvil graceful handling of exiting in different running environments

Anvil process management & container improvements

anvil -d would send anvil to the background process, additionally a flag of --log would redirect the application logs to standard streams, i.e:

# implies chmod -R g+rwX /var/log
/dev/stdout /var/log/anvil.log

Note: these commands would be sent from a separate shell environment (but same user)

anvil restart : exit gracefully and start anvil again (using SIGINT)1
anvil exit : exit gracefully (using SIGINT)

now with anvil -d being used and the command anvil exit you would use SIGTERM2

Additional context

No response

Footnotes

  1. SIGINT (CTRL+C in docker)

  2. SIGTERM (docker container stop)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil P-low Priority: low T-feature Type: feature
Projects
Status: Todo
Development

No branches or pull requests

4 participants