Add daemon support for linux like operating systems