Scroll to navigation

os-update(8) os-update(8)


os-update - Update automatically packages and reboot if necessary






os-update runs daily via the os-update.timer systemd timer and updates the system in a defined way. If the updated packages require a reboot, either rebootmgr is notified (if running) or a reboot is done via systemctl reboot.

The os-update.timer can be configured like any other systemd timer to run at the best fitting time.

It can be configured to do a full system upgrade (e.g. zypper dup for rolling release distributions like openSUSE Tumbleweed), to update only packages (e.g. zypper up for something like SUSE Linux Enterprise) or to apply only security updates (e.g. zypper patch --category security).


Specifies how to update the system. Valid values are “auto”, “dup”, “up” and “security”. “auto” will select the best fitting command depending on the OS.
Specifies how the system will be rebooted in case an update requires this. Valid values are “auto”, “rebootmgr”, “reboot” and “none”. “auto” will use rebootmgr if installed and running, else systemctl reboot. “none” will only print an informative message that a reboot is required, but not trigger any.
Specifies if after a successful update services should automatically restarted, if they are still using old libraries.
Specifies a list of services which should not be restarted.
Specifies a list of services which trigger a soft-reboot. If anything else triggers a real reboot, a full reboot is performed.
Specifies a list of services which trigger a full reboot.
Specifies a custom log identifier


Vendor provided configuration file, contains the defaults.
Admin provided configuration file, should only contain the variables which were changed by the system administrator compared to the vendor configuration file.


systemd.timer(5), systemd-status-mail(8)


Thorsten Kukuk <>.