edit service config for ubuntu.