Skip to main content
Tweeted twitter.com/#!/StackUnix/status/83012473527083008
edited title
Link
tshepang
  • 67.7k
  • 94
  • 226
  • 297

How to ensure the effect of 'update-rc.d stop a daemon from starting up on boot-f <daemon name> remove' remains after package upgradeup in Debian

Source Link
tshepang
  • 67.7k
  • 94
  • 226
  • 297

How to ensure the effect of 'update-rc.d -f <daemon name> remove' remains after package upgrade

There's a few daemons I disable from starting on boot-up. As an example, I use the following:

 sudo update-rc.d -f postgresql remove 

I'm not even sure if that command is correct and I don't remember where I got it from.

Anyways, whenever I upgrade postgresql, the setting is lost (i.e. the daemon starts up on reboot).