Fixed unicorn for ubuntu, fixed path but in unicorn for redhat
Fixed bugs in templates, select correct template for each platform