libvirt-guests.service: Add Requires=libvirtd.service

Having After=libvirtd.service merely ensures that, if both
services are asked to start, libvirtd.service will start
first.

What we really want is for libvirtd.service to be started
whenever libvirt-guests.service is asked to start. Adding a
Requires= relationship guarantees that will happen.
This commit is contained in:
Andrea Bolognani 2016-09-05 19:07:42 +02:00
parent 7fbe9fa575
commit fb2025ede9

View File

@ -1,5 +1,6 @@
[Unit]
Description=Suspend/Resume Running libvirt Guests
Requires=libvirtd.service
After=network.target
After=time-sync.target
After=libvirtd.service