git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/localfs/etc/systemd/system/kvm-arch.service
diff options
context:
space:
mode:
Diffstat (limited to 'localfs/etc/systemd/system/kvm-arch.service')
-rw-r--r--localfs/etc/systemd/system/kvm-arch.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/localfs/etc/systemd/system/kvm-arch.service b/localfs/etc/systemd/system/kvm-arch.service
new file mode 100644
index 0000000..597548f
--- /dev/null
+++ b/localfs/etc/systemd/system/kvm-arch.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=virtual machine triskel05 (Arch)
+Requires=libvirtd.service libvirt-guests.service lvm2-lvmetad.service
+
+[Service]
+Type=oneshot
+ExecStart=/bin/virsh start arch
+ExecStop=/bin/virsh shutdown arch
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target