git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/etc/systemd/system/kvm-infravm@.service
blob: d07150c7ab8993ab5ec8dc3e5bf33ad16b8bc405 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[Unit]
Description=Infrastructural VM %i
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

[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=multi-user.target