summaryrefslogtreecommitdiffstats
path: root/test/units/testsuite-62-3.service
blob: 54ab1965ffda573ba8295474f9a88715c2297ec6 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=TEST-62-RESTRICT-IFACES-deny-list
[Service]
ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.1'
ExecStart=/bin/sh -c '! ping -c 1 -W 0.2 192.168.113.5'
ExecStart=/bin/sh -c 'ping -c 1 -W 0.2 192.168.113.9'
RestrictNetworkInterfaces=~veth0
RestrictNetworkInterfaces=~veth1
Type=oneshot