Mercurial > pub > Minions
changeset 9:04654cfa57a8 0.0.1
Project structure refactoring
author | andrei <andrei@nap21.upri> |
---|---|
date | Tue, 15 Nov 2016 15:11:47 +0300 |
parents | 2e5eb7f3e79c |
children | 551d064fc57d |
files | etc/hive.yaml etc/minions/hive.yaml systemd/libvirt-minion@.service systemd/libvirt-minions.service usr/lib/systemd/system/libvirt-minion@.service usr/lib/systemd/system/libvirt-minions.service |
diffstat | 6 files changed, 43 insertions(+), 43 deletions(-) [+] |
line wrap: on
line diff
--- /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
--- 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
--- /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
--- /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
--- 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
--- 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