Skip to content
This repository has been archived by the owner on Jan 25, 2021. It is now read-only.

Handle syscall.SIGINT and syscall.SIGTERM #49

Closed
Pegasus8 opened this issue Oct 31, 2019 · 0 comments
Closed

Handle syscall.SIGINT and syscall.SIGTERM #49

Pegasus8 opened this issue Oct 31, 2019 · 0 comments
Labels
enhancement New feature or request P3: Medium

Comments

@Pegasus8
Copy link
Owner

Pegasus8 commented Oct 31, 2019

Right now PiWorker only stops when it's forced to do it, which is not correct. The best way to do it is handling the signals syscall.SIGINT and syscall.SIGTERM provided by the system to shutdown correctly.

A good project to understand and learn how to manage this is AGHome.

Related with issue #42.

@Pegasus8 Pegasus8 added enhancement New feature or request P3: Medium labels Oct 31, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request P3: Medium
Projects
None yet
Development

No branches or pull requests

1 participant