diff systemd/libvirt-minions.service @ 9:04654cfa57a8 0.0.1

Project structure refactoring
author andrei <andrei@nap21.upri>
date Tue, 15 Nov 2016 15:11:47 +0300
parents usr/lib/systemd/system/libvirt-minions.service@1221aa2bdede
children
line wrap: on
line diff
--- /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