daemonize correctly when run as REST service
daemonize correctly when run as REST service

redhat-imaging/imagefactory,LalatenduMohanty/imagefactory,redhat-imaging/imagefactory,jmcabandara/imagefactory,henrysher/imagefactory,henrysher/imagefactory,LalatenduMohanty/imagefactory,jmcabandara/imagefactory