Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ For example, if your entrypoint would be `python main.py`, DevSpace would rewrit
/.devspace/devspace-restart-helper python main.py
```

This has the advantage that DevSpace (or you) can restart your application without crashing the contianer because normally, the python command would be the PID 1 and if that gets killed, the container will be destroyed. If the restart helper script is PID 1, we can kill the python process without impacting the container. Then, the restart helper will just restart the python command again.
This has the advantage that DevSpace (or you) can restart your application without crashing the container because normally, the python command would be the PID 1 and if that gets killed, the container will be destroyed. If the restart helper script is PID 1, we can kill the python process without impacting the container. Then, the restart helper will just restart the python command again.


## Inject Restart Helper
Expand Down