blob: 9300f3813f6a5cbb56229c911c8a44d4f0c872db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
[Unit]
Description=VM %i (with cluster inside)
Requires=kvm-infravm _æ_ iscsi.service
After=kvm-infravm _æ_ iscsi.service
Requires=libvirtd.service
Requires=kvm-firewall.service
Requires=kvm-network _æ_ sosaria05.service
Requires=kvm-network _æ_ san-cluster.service
After=kvm-firewall.service
After=libvirtd.service
After=lvm2-monitor.service
After=kvm-network _æ_ sosaria05.service
After=kvm-network _æ_ san-cluster.service
PartOf=cluster-muromachi.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/kvmhelper -q vm-start %i
ExecStop=/usr/local/bin/kvmhelper -q vm-stop %i
RemainAfterExit=yes
TimeoutStartSec=10s
TimeoutStopSec=60s
[Install]
WantedBy=cluster-muromachi.target
|