On 2020-02-25, Adam Funk wrote:
> 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.
Yay, that worked! First cron.daily job started at 05:39 this morning.
Thanks to everyone for the advice.
--
A person who won't read has no advantage over one who can't read.
---Mark Twain
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|