only attach init service if it exists