Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #178460
| From | Michael Biebl <biebl@debian.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: upgraded config files in /lib/systemd/system |
| Date | 2017-03-05 21:50 +0100 |
| Message-ID | <thLgl-5Fg-9@gated-at.bofh.it> (permalink) |
| References | <tfPR8-4Up-15@gated-at.bofh.it> <tfRgd-5JN-17@gated-at.bofh.it> <thKNk-5sV-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
Am 05.03.2017 um 20:47 schrieb Harald Dunkel: > On 02/28/17 15:23, Dominique Dumont wrote: > >> I don't understand why a change in /lib/systemd/system should trigger a conflict warning. > > > A unit file provided by the package maintainer might introduce new > dependencies, for example. Maybe an ExecStart or ExecStop script has > been changed, or there are new/different command line options. > > I don't think that conflicts between the user's old modified unit > files in /etc and the new packages unit files are easy to avoid. > Keep in mind, that in most cases you don't need to override the package provided service file completely by making a full copy of it in /etc/systemd/system You can extend/override individual bits via drop-in files (e.g. adding additional dependencies/orderings). For a service foo.service you create /etc/systemd/system/foo.service.d/bla.conf The name is arbitrary, you just need to make sure it has a .conf extension. Fwiw, systemctl edit (--full) foo.service can help you with that https://www.freedesktop.org/software/systemd/man/systemctl.html#edit%20NAME%E2%80%A6 This is new in stretch, jessie's systemctl doesn't have that yet. Regards, Michael -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
upgraded config files in /lib/systemd/system Harald Dunkel <harald.dunkel@aixigo.de> - 2017-02-28 14:20 +0100
Re: upgraded config files in /lib/systemd/system Dominique Dumont <dod@debian.org> - 2017-02-28 15:50 +0100
Re: upgraded config files in /lib/systemd/system Harald Dunkel <harri@afaics.de> - 2017-03-05 21:20 +0100
Re: upgraded config files in /lib/systemd/system Michael Biebl <biebl@debian.org> - 2017-03-05 21:50 +0100
Re: upgraded config files in /lib/systemd/system Michael Biebl <biebl@debian.org> - 2017-03-05 22:30 +0100
Re: upgraded config files in /lib/systemd/system Sven Hartge <sven@svenhartge.de> - 2017-03-05 22:50 +0100
Re: upgraded config files in /lib/systemd/system Harald Dunkel <harald.dunkel@aixigo.de> - 2017-03-09 13:00 +0100
csiph-web