Hi, quite often I just want to disable a service in /etc/init.d. But there doesn't seem to be a standard way to do that.
Many services have a file in /etc/defaults, where the service can be disabled. In that case, however, the service also can't be started manually. In http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=+462155 I was told to use sysv-rc-conf. I didn't know that tool before. But it seems a reasonable option. I usually end up removing the execute bit, as this is the simplest solution and the service can still be started manually. Shouldn't there be some default way in Debian to disable services? post-install scripts, which ask whether the service should be enabled should adhere to it and it should be supported by tools and also mentioned in the manual. sysv-rc-conf would be one option, in which case it would have to have priority required. The other option being removing the executable bit. I would be content with either, but I think it would be a good idea to agree on a standard. Cheers, harry
signature.asc
Description: PGP signature