run service in the foreground