- Install the
system-update.service
andsystem-update.timer
service files to a directory that SystemD loads service definitions from.- The most likely directory on most distros is
/etc/systemd/system/
(create this directory if it does not exist).
- The most likely directory on most distros is
sudo systemctl daemon-reload
to tell SystemD to refresh its configuration cache.sudo systemctl enable --now software-update
If SystemD does not know about the software-update
service you created, refer to your distros documention about which directories are checked for configuration. Perhaps try /usr/lib/systemd/system/
(not recommended initially)?