Commit Graph

11 Commits

Author SHA1 Message Date
Mattias Andrée e3dacbb542 respawn: reopen the fifo at end of line, and use read-only
Signed-off-by: Mattias Andrée <maandree@kth.se>
2016-09-26 09:57:54 +01:00
Hiltjo Posthuma 7e394bd70f code-style: cleanup
- move main() at the bottom.
- put global variables at the top.
- improve usage() lines (consistent with man page).
2015-02-06 15:16:24 +00:00
sin 6f7f387352 Stop using EXIT_{SUCCESS,FAILURE} 2014-10-02 23:47:39 +01:00
sin d4416d984b Update TODO 2014-09-28 18:36:05 +01:00
Hiltjo Posthuma 291aedb875 code consistency fixes 2014-07-09 15:08:01 +01:00
sin 10c8b71fd2 Kick off respawn in its own session 2014-07-06 21:36:28 +01:00
sin ce59961f19 respawn: kill child process upon SIGTERM
We might revisit this and be more strict i.e. kill the child
process even if it is in a new process session/group.

For now this is probably a good enough balance.

This patch changes the existing semantics of respawn, the child
process is now part of the same process session as respawn.
2014-07-06 21:15:09 +01:00
sin 86060b535c Fix includes across all tools 2014-06-30 19:04:47 +01:00
sin 0e6d7ca286 Implement fifo listener mode for respawn 2014-04-22 16:40:11 +01:00
sin 36d6216455 Style fix for respawn 2014-04-18 11:37:18 +01:00
sin c4ff95798c Add respawn 2014-04-17 14:08:35 +01:00