-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
error: The option `perSystem.aarch64-darwin.process-compose.<>.settings.processes.backend.shutdown.parent_only' does not exist.
Documented here - https://f1bonacc1.github.io/process-compose/launcher/#termination-parameters
I don't see it in
process-compose-flake/nix/process-compose/settings/process.nix
Lines 95 to 122 in 1a99117
| shutdown = { | |
| command = mkOption { | |
| type = types.nullOr types.str; | |
| default = null; | |
| example = "sleep 2 && pkill -f 'test_loop.bash my-proccess'"; | |
| description = '' | |
| The command to run while process-compose is trying to gracefully shutdown the current process. | |
| Note: The `shutdown.command` is executed with all the Environment Variables of the primary process | |
| ''; | |
| }; | |
| signal = mkOption { | |
| type = types.nullOr types.ints.unsigned; | |
| default = null; | |
| example = 15; | |
| description = '' | |
| If `shutdown.command` is not defined, exit the process with this signal. Defaults to `15` (SIGTERM) | |
| ''; | |
| }; | |
| timeout_seconds = mkOption { | |
| type = types.nullOr types.ints.unsigned; | |
| default = null; | |
| example = 10; | |
| description = '' | |
| Wait for `timeout_seconds` for its completion (if not defined wait for 10 seconds). Upon timeout, `SIGKILL` is sent to the process. | |
| ''; | |
| }; | |
| }; |
I need this to gracefully handle shutdown in a use case I think.
Metadata
Metadata
Assignees
Labels
No labels