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 which
18       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 modification
28       times of the files described above. This requires that updates to /usr
29       are always followed by an update of the modification time of /usr, for
30       example by invoking touch(1) on it.
31

SEE ALSO

33       systemd(1), systemd.unit(5), touch(1)
34
35
36
37systemd 243                                     SYSTEMD-UPDATE-DONE.SERVICE(8)
Impressum