Skip to content

Conversation

mikeland73
Copy link
Contributor

Summary

This allows starting/stoping multiple services:

devbox services start starts all services
devbox services start s1 s2 starts s1 and s2

If a service fails to start/stop we print and error and continue. If only a single service is meant to be started/stoped we return an error.

How was it tested?

devbox services start
devbox services stop
devbox services start apacheHttpd php-fpm
devbox services stop apacheHttpd php-fpm

Copy link
Contributor

@loreto loreto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, but at some point I think we should invest in incorporating the process manager.

@mikeland73
Copy link
Contributor Author

@loreto agreed, I really like https://github.com/F1bonacc1/process-compose but it will require some modifications to work the way we want.

@mikeland73 mikeland73 merged commit 46eafa8 into main Dec 16, 2022
@mikeland73 mikeland73 deleted the landau/start-all branch December 16, 2022 04:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants