diff options
| author | Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk> | 2021-09-28 10:42:45 +0100 |
|---|---|---|
| committer | Kevin Darbyshire-Bryant <6500011+ldir-EDB0@users.noreply.github.com> | 2021-10-02 20:37:08 +0100 |
| commit | 8322059f01abaabc293b854dc4f1768816654f52 (patch) | |
| tree | 9a2e24810717b811d8554b3596b199dd26c84d35 /lang/python/python-dotenv | |
| parent | 401291ba7e97a696d7f7657f2b483781dee980a2 (diff) | |
collectd: sqm_collect: handle being orphaned
If the master collectd instance gets shut down in an uncontrolled
manner (crashes!) then sqm_collect scripts will be left orphaned and
will run forever.
Modify script to check if it still has a parent and if not, exit.
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Diffstat (limited to 'lang/python/python-dotenv')
0 files changed, 0 insertions, 0 deletions
