Thread (4 messages) 4 messages, 3 authors, 2021-04-05

Re: systemd black magic (was "Re: Question about mdcheck")

From: David T-G <hidden>
Date: 2021-04-05 19:06:48

Jeffery, et al --

...and then Jeffery Small said...
% 
...
% I do not want to edit the files under /lib/systemd/system/
% which would certainly be overwritten with future updates.
% Can I place copies of these files in /etc/systemd/system
% and completely override the entries under /lib/systemd?

Yes.  That is exactly the right way to do it.  In fact, there's a
way you can only make changes such as adding a param (but not removing;
that DOES require wholesale overriding) so that you don't have to
maintain the entire separate copy, which might then diverge with nice
changes across updates.  On the other hand, it can be nice to have
absolute control over what happens.


% 
% Clearly, I'm still trying to figure out just how the systemd
% works and how it integrates with the old legacy init system.

Join the club :-/  You now know pretty much as much as I do about
systemd --- which ain't much!


HTH & HAND

:-D
-- 
David T-G
See http://justpickone.org/davidtg/email/
See http://justpickone.org/davidtg/tofu.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help