On 2020-02-26, Richard Kettlewell wrote:
> Adam Funk writes:
>> On 2020-02-25, Richard Kettlewell wrote:
>>> Adam Funk writes:
>>>> On 2020-02-25, Richard Kettlewell wrote:
>>>>> Adam Funk writes:
>>>>>> On 2020-02-24, Richard Kettlewell wrote:
>>>>>>> Adam Funk writes:
>>>>>>>> Some stuff in the documentation led to believe that customized files
>>>>>>>> should go straight in etc --- should I restore the symlink and edit
>>>>>>>> the file in /lib/systemd/...?
>>>>>>>
>>>>>>> The symlinks needs to still be there but point to the new file.
>>>>>>
>>>>>> So restore the symlinnk from
>>>>>> /etc/systemd/system/timers.target.wants/anacron.timer to
>>>>>> /lib/systemd/system/anacron.timer & edit the latter (regular) file?
>>>>>
>>>>> No, the link needs to point to the new file.
>>>>
>>>> So where do I put the new/customized version of the regular file?
>>>
>>> From the instructions I pointed you at:
>>>
>>> There are two methods of overriding vendor settings in unit
>>> files: copying the unit file from /lib/systemd/system to
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> /etc/systemd/system and modifying the chosen settings.
>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>> Alternatively, one can create a directory named unit.d/ within
>>
>> It's clearly obvious to you how this works, so I appreciate your
>> patience.
>>
>> 1. copy /etc/systemd/system/anacron.timer to /etc/systemd/system
>> 2. edit /etc/systemd/system/anacron.timer to "05..23:30"
>> 3. delete the symlink from
/etc/systemd/system/timers.target.wants/anacron.timer
>> to /lib/systemd/system/anacron.timer
>> 4. replace that symlink with one to /etc/systemd/system/anacron.timer
>>
>> Does that sound right? It seems very strange to me to have to copy a
>> file into a higher bit of /etc/systemd/ then symlink it from further
>> down the tree.
>
> It would be strange, but that’s not what it says.
Well, as I said a few minutes ago, I managed to get it working by
doing that. You said "the link needs to point to the new file" ---
how else can I interpret that besides items 3 & 4 above?
>>> files: copying the unit file from /lib/systemd/system to
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^*******************
>
> I will not be quoting these instructions again.
--
The generation of random numbers is too important to be left to
chance. ---Robert R. Coveyou
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|