Kick off respawn in its own session

This commit is contained in:
sin 2014-07-06 21:35:35 +01:00
parent ce59961f19
commit 10c8b71fd2
1 changed files with 2 additions and 0 deletions

View File

@ -58,6 +58,8 @@ main(int argc, char *argv[])
if (fifo && delay > 0) if (fifo && delay > 0)
usage(); usage();
setsid();
signal(SIGTERM, sigterm); signal(SIGTERM, sigterm);
if (fifo) { if (fifo) {