kostya/eye — pull request #2 by vihai (2013-02-07 22:32:06+00:00)
Title: Properly daemonize eye process on launch

The daemonization code was not releasing the current dir and not changing the process group. This leads to issues in determinate circumstances.

For example, running eye from ssh with an allocated pty would start and kill it immediately:

ssh root@host -t "eye load /etc/eye.conf"

Without the pty it works:

ssh root@host "eye load /etc/eye.conf"