git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Pfeiffer <coding _ lirion.de> 2018-07-09 21:48:53 +0200
committerHarald Pfeiffer <coding _ lirion.de> 2018-07-09 21:48:53 +0200
commitd3d3a31be77f6c62aef4494fa7c8cde3269d0ded (patch)
tree700cb7113882599b97d896a9b051245b7fcf794c
parent8682d695ed430956752a000de79674261b63f19f (diff)
downloadsystemd-units-d3d3a31be77f6c62aef4494fa7c8cde3269d0ded.tar.bz2
cleanup in units
-rw-r--r--etc/systemd/system/kvm-clustervm@.service8
-rw-r--r--etc/systemd/system/kvm-infravm@.service1
2 files changed, 1 insertions, 8 deletions
diff --git a/etc/systemd/system/kvm-clustervm@.service b/etc/systemd/system/kvm-clustervm@.service
index f21cbcd..9300f38 100644
--- a/etc/systemd/system/kvm-clustervm@.service
+++ b/etc/systemd/system/kvm-clustervm@.service
@@ -1,13 +1,7 @@
-# Work in progress:
-# - Start needs to be more sophisticated in reaction to state of domains
-# - Stop should not just do a post-sleep, but instead the post section should
-# carry a script polling the state of the machine and hammering it into the
-# coffing after a certain timeout
[Unit]
Description=VM %i (with cluster inside)
-Wants=kvm-infravm@iscsi.service
+Requires=kvm-infravm@iscsi.service
After=kvm-infravm@iscsi.service
-Wants=lvm2-monitor.service
Requires=libvirtd.service
Requires=kvm-firewall.service
Requires=kvm-network@sosaria05.service
diff --git a/etc/systemd/system/kvm-infravm@.service b/etc/systemd/system/kvm-infravm@.service
index 29f8321..d07150c 100644
--- a/etc/systemd/system/kvm-infravm@.service
+++ b/etc/systemd/system/kvm-infravm@.service
@@ -1,6 +1,5 @@
[Unit]
Description=Infrastructural VM %i
-Wants=lvm2-monitor.service
Requires=libvirtd.service
Requires=kvm-firewall.service
Requires=kvm-network@sosaria05.service