1SYSTEMD-UPDATE-DONE.SERVICEs(y8s)temd-update-done.serSvYiScTeEMD-UPDATE-DONE.SERVICE(8)
2
3
4

NAME

6       systemd-update-done.service, systemd-update-done - Mark /etc/ and /var/
7       fully updated
8

SYNOPSIS

10       systemd-update-done.service
11
12       /usr/lib/systemd/systemd-update-done
13

DESCRIPTION

15       systemd-update-done.service is a service that is invoked as part of the
16       first boot after the vendor operating system resources in /usr/ have
17       been updated. This is useful to implement offline updates of /usr/
18       which might require updates to /etc/ or /var/ on the following boot.
19
20       systemd-update-done.service updates the file modification time (mtime)
21       of the stamp files /etc/.updated and /var/.updated to the modification
22       time of the /usr/ directory, unless the stamp files are already newer.
23
24       Services that shall run after offline upgrades of /usr/ should order
25       themselves before systemd-update-done.service, and use the
26       ConditionNeedsUpdate= (see systemd.unit(5)) condition to make sure to
27       run when /etc/ or /var/ are older than /usr/ according to the
28       modification times of the files described above. This requires that
29       updates to /usr/ are always followed by an update of the modification
30       time of /usr/, for example by invoking touch(1) on it.
31
32       Note that if the systemd.condition-needs-update= kernel command line
33       option is used it overrides the ConditionNeedsUpdate= unit condition
34       checks. In that case systemd-update-done.service will not reset the
35       condition state until a follow-up reboot where the kernel switch is not
36       specified anymore.
37

SEE ALSO

39       systemd(1), systemd.unit(5), touch(1)
40
41
42
43systemd 251                                     SYSTEMD-UPDATE-DONE.SERVICE(8)
Impressum