diff usr/lib/systemd/system/libvirt-minion@.service @ 0:cd5df456ee84

Initial working version of minions.pl ans sysyemd units
author cin
date Tue, 15 Nov 2016 01:33:09 +0300
parents
children 0279d995d493
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/usr/lib/systemd/system/libvirt-minion@.service	Tue Nov 15 01:33:09 2016 +0300
@@ -0,0 +1,18 @@
+[Unit]
+Description=Suspend/Resume running libvirt %I domain
+Requires=libvirtd.service
+After=network.target
+After=time-sync.target
+After=libvirtd.service
+Before=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
\ No newline at end of file