logoalt Hacker News

Linux-Fanlast Sunday at 10:54 AM1 replyview on HN

It is a well-known issue with probably less well-known solutions, cf. <https://unix.stackexchange.com/questions/723675/debian-ubunt...>

  echo exit 101 > /usr/sbin/policy-rc.d
  chmod +x /usr/sbin/policy-rc.d
I think this is the recommended way to avoid autostarting services on Debian.

Replies

rbanffylast Sunday at 1:34 PM

Good pointer. I remember learning it, and then forgetting it. Probably more than once.

Still should be the default behavior.