]> git.ipfire.org Git - thirdparty/systemd.git/blame - test/test-execute/exec-privatedevices-yes-capability-sys-rawio.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-privatedevices-yes-capability-sys-rawio.service
CommitLineData
22d3cfe5 1# SPDX-License-Identifier: LGPL-2.1-or-later
625d8769
DH
2[Unit]
3Description=Test CAP_SYS_RAWIO capability for PrivateDevices=yes
4
5[Service]
6PrivateDevices=yes
e9cdcbed
FS
7# sed: remove dropped (cap_xxx-[epi]) and IAB capabilities from the output
8ExecStart=/bin/sh -x -c '! capsh --print | sed -re "s/[^ ]+?\-[epi]+//g" -e '/IAB/d' | grep cap_sys_rawio'
625d8769 9Type=oneshot