# HG changeset patch # User andrei # Date 1479211907 -10800 # Node ID 04654cfa57a8837bd46826d9e5a1046546bb5948 # Parent 2e5eb7f3e79ca06425966f3c61827bdc1a4e2a7f Project structure refactoring diff -r 2e5eb7f3e79c -r 04654cfa57a8 etc/hive.yaml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/etc/hive.yaml Tue Nov 15 15:11:47 2016 +0300 @@ -0,0 +1,9 @@ +vmms: + qemu: + uri: qemu:///system + stop: suspend + lxc: + uri: lxc:/// + stop: shutdown +timeout: 100 +parallel: 4 \ No newline at end of file diff -r 2e5eb7f3e79c -r 04654cfa57a8 etc/minions/hive.yaml --- a/etc/minions/hive.yaml Tue Nov 15 15:11:27 2016 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -vmms: - qemu: - uri: qemu:///system - stop: suspend - lxc: - uri: lxc:/// - stop: shutdown -timeout: 100 -parallel: 4 \ No newline at end of file diff -r 2e5eb7f3e79c -r 04654cfa57a8 systemd/libvirt-minion@.service --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemd/libvirt-minion@.service Tue Nov 15 15:11:47 2016 +0300 @@ -0,0 +1,15 @@ +[Unit] +Description=Suspend/Resume running libvirt %I domain +Requires=libvirt-minions.service +After=libvirt-minions.service + +[Service] +ExecStart=/usr/lib/minions/minions.pl start %I +ExecStop=/usr/lib/minions/minions.pl stop %I +Type=oneshot +RemainAfterExit=yes +StandardOutput=journal+console +TimeoutStopSec=0 + +[Install] +WantedBy=multi-user.target diff -r 2e5eb7f3e79c -r 04654cfa57a8 systemd/libvirt-minions.service --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/systemd/libvirt-minions.service Tue Nov 15 15:11:47 2016 +0300 @@ -0,0 +1,19 @@ +[Unit] +Description=Suspend/Resume running libvirt guests +Requires=libvirtd.service +Requires=libvirt-guests.service +After=network.target +After=time-sync.target +After=libvirtd.service +After=libvirt-guests.service + +[Service] +ExecStart=/usr/lib/minions/minions.pl start +ExecStop=/usr/lib/minions/minions.pl stop +Type=oneshot +RemainAfterExit=yes +StandardOutput=journal+console +TimeoutStopSec=0 + +[Install] +WantedBy=multi-user.target diff -r 2e5eb7f3e79c -r 04654cfa57a8 usr/lib/systemd/system/libvirt-minion@.service --- a/usr/lib/systemd/system/libvirt-minion@.service Tue Nov 15 15:11:27 2016 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -[Unit] -Description=Suspend/Resume running libvirt %I domain -Requires=libvirt-minions.service -After=libvirt-minions.service - -[Service] -ExecStart=/usr/lib/minions/minions.pl start %I -ExecStop=/usr/lib/minions/minions.pl stop %I -Type=oneshot -RemainAfterExit=yes -StandardOutput=journal+console -TimeoutStopSec=0 - -[Install] -WantedBy=multi-user.target diff -r 2e5eb7f3e79c -r 04654cfa57a8 usr/lib/systemd/system/libvirt-minions.service --- a/usr/lib/systemd/system/libvirt-minions.service Tue Nov 15 15:11:27 2016 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -[Unit] -Description=Suspend/Resume running libvirt guests -Requires=libvirtd.service -Requires=libvirt-guests.service -After=network.target -After=time-sync.target -After=libvirtd.service -After=libvirt-guests.service - -[Service] -ExecStart=/usr/lib/minions/minions.pl start -ExecStop=/usr/lib/minions/minions.pl stop -Type=oneshot -RemainAfterExit=yes -StandardOutput=journal+console -TimeoutStopSec=0 - -[Install] -WantedBy=multi-user.target