summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-restrictnamespaces-merge-or.service
blob: a52455204dc3f12c9a27e4259380c4200d8f9ce0 (plain)
1
2
3
4
5
6
7
8
9
[Unit]
Description=Test merging RestrictNamespaces= with OR

[Service]
RestrictNamespaces=mnt pid
RestrictNamespaces=mnt uts
ExecStart=unshare -m -u -p -f
ExecStart=sh -c '! unshare -u -i -n'
Type=oneshot