]> Sergey Matveev's repositories - public-inbox.git/commit
daemon: disable SIGWINCH unless explicitly daemonized
authorEric Wong <e@80x24.org>
Tue, 21 Jun 2016 10:03:10 +0000 (10:03 +0000)
committerEric Wong <e@80x24.org>
Tue, 21 Jun 2016 10:14:46 +0000 (10:14 +0000)
commit73d274e83b7d300f31e0cc1ceeacbf73c6c2a1e4
treec53e2142910d2258e7c8731eaefe783b3835cf97
parent7ee0fb32fbc59b63a26e2926f3f376bb06f4a41b
daemon: disable SIGWINCH unless explicitly daemonized

Checking stdin/stdout/stderr is not sufficient as the daemon
without setsid can still be under the control of a terminal.

Unfortunately this means systemd users cannot use SIGWINCH,
either.
lib/PublicInbox/Daemon.pm