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

Suggestion: wait-on systemd / ps aux #71

Open
slavaGanzin opened this issue Jul 20, 2020 · 0 comments
Open

Suggestion: wait-on systemd / ps aux #71

slavaGanzin opened this issue Jul 20, 2020 · 0 comments

Comments

@slavaGanzin
Copy link

slavaGanzin commented Jul 20, 2020

Currently to wait for a process to be up you can write while loop:

while `ps aux | grep [p]ostgres`; do sleep 1s; done #syntax i should always google

But it would be nifty to do it like:

wait-on process:postgres for ps | grep alike
and
wait-on systemd:postges for systemctl status postgres.service | grep running

As a proposed solution for: #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant