Join GitHub today
tplay: replace glibc daemon() function with own implementation #52
tplay currently uses the libc daemon function (http://man7.org/linux/man-pages/man3/daemon.3.html) to make the program in the background. This solution is somewhat limited and not flexible enough to, for example, enable tplay to run at system start (e.g. with a /etc/init.d-style script).
A "deamonize" utility needs to be implemented that can take of all the steps required to turn tplay into a daemon process allowing for any customisation required by tplay.