summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-restrictnamespaces-merge-or.service
blob: fca3718c9d703996f4ad90a7bae30b220c2109d3 (plain)
1
2
3
4
5
6
7
8
9
10
# SPDX-License-Identifier: LGPL-2.1-or-later
[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