1activegeek / docker-airconnect

AirConnect container for turning Chromecast into Airplay targets
233 stars 27 forks source link

self-daemonizing processes #2

Closed juhannc closed 5 years ago

juhannc commented 5 years ago

Self-daemonizing the process disables the interactive mode and drastically reduces the CPU usage

1activegeek commented 5 years ago

Thanks for the reminder. I actually have a dev branch and needed to correct this there first. I need to do a bit more than just adding this into the default runtime, as I have a script to check for alterations and it's using some SED-fu to identify the right lines to correct. I've made the appropriate changes, but also used the -z option vs the -Z option. The lowercase will kill interactive and daemonize, while the upper only cancels interactive.