-
Notifications
You must be signed in to change notification settings - Fork 340
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
Run processes in the background #80
Comments
Use `devenv up -d` to run honcho processes in the background with nohup. `devenv down` and `devenv logs` are also included. See cachix#80.
Use `devenv up -d` to run honcho processes in the background with nohup. `devenv down` and `devenv logs` are also included. See cachix#80.
Use `devenv up -d` to run honcho processes in the background with nohup. `devenv down` and `devenv logs` are also included. See cachix#80.
Use `devenv up -d` to run honcho processes in the background with nohup. `devenv down` and `devenv logs` are also included. See cachix#80.
That's implemented in #745 |
Hi @domenkozar ! I tried reading the link you mentioned, it took me to a python rewrite and then to a rust rewrite. I'm using devenv as a flake but when I tried running the command |
It does not work with flakes yet. |
Hi! I found a solution for my use case and I'm sharing it here in case someone else ends here. I wanted to run "devenv up" in CI from a github action to automatically setup postgress and other background services of my project. Turns out the default TUI of process-compose was the problem so searching on the documentation I managed to add the following configuration: default = devenv.lib.mkShell {
inherit inputs pkgs;
modules = [
{
process = {
process-compose = pkgs.lib.mkOptionDefault {
tui = "false";
};
};
services.postgres = {
enable = true;
listen_addresses = postgresHost;
port = postgresPort;
initialScript = dbInitFile;
};
}
];
};
|
It would be nice to have a way of running processes in the background, similar to
docker-compose up -d
.Maybe
devenv up -d
would be an intuitive choice?The text was updated successfully, but these errors were encountered: