mirror of https://gitee.com/openkylin/libvirt.git
libvirt-guests: run after time-sync.target
When libvirt-guests is configured to start guests on host boot, it is possible for guests start and read the host clock before it is synchronized. Services such as libvirt-guests that require correct time should use the Special Passive System Unit time-sync.target http://www.freedesktop.org/software/systemd/man/systemd.special.html#time-sync.target
This commit is contained in:
parent
0dce260cc8
commit
a9bad1a337
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=Suspend Active Libvirt Guests
|
||||
After=network.target libvirtd.service
|
||||
After=network.target libvirtd.service time-sync.target
|
||||
Documentation=man:libvirtd(8)
|
||||
Documentation=http://libvirt.org
|
||||
|
||||
|
|
Loading…
Reference in New Issue