Modified team city agent init.d script