git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/cluster-muromachi.target
diff options
context:
space:
mode:
authorH. P. <harald.p.@xmart.de> 2018-07-05 20:22:10 +0200
committerH. P. <harald.p.@xmart.de> 2018-07-05 20:22:10 +0200
commit9718a84ffb3304324e058bd249217dcd56a209e4 (patch)
treec47dea3c06712bdae8a076f4f21180a835b224ec /etc/systemd/system/cluster-muromachi.target
parent29140a466a8ab64efbc81d29906b84ac5ff838b8 (diff)
downloadsystemd-units-9718a84ffb3304324e058bd249217dcd56a209e4.tar.bz2
Initial commit of of kvm stuff
Diffstat (limited to 'etc/systemd/system/cluster-muromachi.target')
-rw-r--r--etc/systemd/system/cluster-muromachi.target11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/systemd/system/cluster-muromachi.target b/etc/systemd/system/cluster-muromachi.target
new file mode 100644
index 0000000..b8570e4
--- /dev/null
+++ b/etc/systemd/system/cluster-muromachi.target
@@ -0,0 +1,11 @@
+# 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=Cluster "muromachi_cl"
+BindsTo=kvm-clustervm@centoscl0.service kvm-clustervm@centoscl1.service kvm-clustervm@centoscl2.service
+
+[Install]
+WantedBy=multi-user.target