Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #187527
| From | cabezachumbo@gmail.com |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process. |
| Date | 2017-10-03 14:20 +0200 |
| Message-ID | <uwul4-Px-7@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Hello! I guess that the script prevents from enabling currently disabled services. One more thing, what should I do if I also want that after installing a new service with "apt install service" it doesn't get enabled automatically in the installation process? Thank you very much Reco. Regards. > It's a hack, but it should work. Create an executable file called > /usr/sbin/policy-rc.d with the following contents: > > #!/bin/sh > /bin/systemctl --quiet is-enabled $1 && exit 0 > echo All rc operations are disabled by policy: $1 $2 > exit 101 > > Reco
Back to linux.debian.user | Previous | Next — Next in thread | Find similar | Unroll thread
Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process. cabezachumbo@gmail.com - 2017-10-03 14:20 +0200
Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process. davidson <davidson@freevolt.org> - 2017-11-26 22:00 +0100
Re: Re: Prevent apt/dpkg from automatically enabling services during the upgrade process. davidson <davidson@freevolt.org> - 2017-11-26 22:10 +0100
csiph-web