Skip to content

Перехват SIGINT и SIGTERM в src/nohubrunner #2

@uriid1

Description

@uriid1

В src/nohubrunner необходимо добавить перехват сигналов для выполнения cleanup.

trap 'echo "Сигнал SIGTERM получен"; exit' SIGTERM
trap 'echo "Сигнал SIGINT получен"; exit' SIGINT

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions