summaryrefslogtreecommitdiff
path: root/test/exec-privatenetwork-yes.service
blob: 494712e6a741445599c1eccf7f89fc2fdeec945a (plain)
1
2
3
4
5
6
[Unit]
Description=Test for PrivateNetwork

[Service]
ExecStart=/bin/sh -c 'i=$(ip link | grep ": " | grep -v lo); echo $i; exit $(test -z $i)'
PrivateNetwork=yes