make private service work (but only if there is no public folder)
Merge pull request #273 from kived/service-private

make private service work (but only if there is no public folder)