Re: Python script under daemontools does not get signal 15
"Raj [mail list]" <[email protected]> Mon, 3 Feb 2014 12:00:26 +0530
| Newsgroups | gmane.comp.djb.syslog |
|---|---|
| Message-ID | <CAE56t+WuO81Hh+XrNd_GVAEsrRWxJhbiT06bvjoFfwwaO52A3A@mail.gmail.com> |
On Mon, Feb 3, 2014 at 11:33 AM, Andy Bradford <[email protected]> wrote: > 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 Thanks, it is working fine. raj