Installation of OS-Update - some questions in advance

I am slowly re-building my TW + KDE desktop and am now looking at the installation of os-update and setting up the following:-

/usr/lib/systemd/system/os‐update.service
       /usr/lib/systemd/system/os‐update.timer

On reviewing my notes I see that I believe the os-update was put in /usr/libexec/ by installation via Yast2. What I do not follow is why the app services and timers for other apps are, as usual, configured in
/etc/systemd/system/.

Is there a reason for the difference? I ask before proceeding as I am looking for a consistent approach.

I don’t know for certain, but in general, when packaging, files installed in /usr/ are subject to update when there’s a new package available. Files installed in /etc are local configuration files for whatever, and should take precedence over the “same” file in /usr

Granted, it’s not as simple and clean cut as that for everything.

I don’t know os-update, but I’d suspect, if you’re making changes to the files sitting in /usr/lib/systemd/system they’re going to get overwritten anytime the package that provides os-update gets updated.

Editing them via systemctl edit --full os-update.timer would put a local copy with changes in /etc/systemd/system I think

@Budgie2 what @sfalken said, only ever use edit (or create your own) so an edited (override) copy is saved to /etc/systemd/[system,user] directory. This location takes precedence over the system files. For the libexec location have a read here openSUSE:Specfile guidelines - openSUSE Wiki

Hi and thanks for both replies. Now I know and will leave things as I had it in my last installation. Just good to know.