git.lirion.de

Of git, get, and gud

aboutsummaryrefslogtreecommitdiffstats
path: root/localfs/etc/systemd/system/kvm-firewall.service
blob: b68ede56218900a33d7eb622c9da7131f9540883 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[Unit]
Description=virtual machine cthulhu05 (Debian Firewall)
Wants=lvm2-monitor.service
Requires=libvirtd.service
Requires=kvm-network@sosaria05.service
Requires=kvm-network@san-cluster.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 firewall
ExecStop=/usr/local/bin/kvmhelper -q vm-stop firewall
RemainAfterExit=yes
TimeoutStartSec=10s
TimeoutStopSec=60s

[Install]
WantedBy=multi-user.target