diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-10 03:22:28 +0100 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2016-03-10 03:22:28 +0100 |
commit | 9a3e83775a288bfc89384f9f394a904f676e000e (patch) | |
tree | f8eddfce42f46db3cc95052bce012bc8d96b051e | |
parent | d7b6be50dcc99058e54d272c493c6e245055b736 (diff) | |
download | spline-startup-9a3e83775a288bfc89384f9f394a904f676e000e.tar.gz spline-startup-9a3e83775a288bfc89384f9f394a904f676e000e.tar.bz2 spline-startup-9a3e83775a288bfc89384f9f394a904f676e000e.zip |
Ignore SIGCHLD to cleanup child and remove defunct processes
-rwxr-xr-x | spline-startup | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spline-startup b/spline-startup index f7d1f10..e85dfc4 100755 --- a/spline-startup +++ b/spline-startup @@ -4,6 +4,7 @@ from __future__ import print_function import argparse import os import pwd +import signal import sys import syslog from subprocess import Popen, PIPE, STDOUT @@ -174,6 +175,7 @@ class SplineStartup(object): def main(): + signal.signal(signal.SIGCHLD, signal.SIG_IGN) app = SplineStartup() app.run() |