Re: Python script under daemontools does not get signal 15
"Andy Bradford" <[email protected]> 2 Feb 2014 23:03:31 -0700
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <[email protected]> |
Thus said "Raj [mail list]" on Mon, 03 Feb 2014 10:49:28 +0530: > I am using following run script to run the program under daemontools > > #!/bin/sh > exec 2>&1 > /usr/bin/python /home/test/sigtest.py Your python script doesn't get the signal because it isn't going to the python script, it's going to your run script. You need to do: #!/bin/sh exec 2>&1 exec /usr/bin/python /home/test/sigtest.py Andy -- TAI64 timestamp: 4000000052ef3153