]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - test/test-execute/exec-systemcallfilter-system-user.service
tests: add spdx license header to test unit/link/network/conf files
[thirdparty/systemd.git] / test / test-execute / exec-systemcallfilter-system-user.service
index 462f94133dd790ed8e0fc5ceacbf7d235e7ea184..005c4ac1c82927abd39fdffbe78e52d448319503 100644 (file)
@@ -1,10 +1,11 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
 [Unit]
-Description=Test for SystemCallFilter in system mode with User set
+Description=Test for SystemCallFilter in system mode with User set (daemon)
 
 [Service]
-ExecStart=/bin/echo "Foo bar"
+ExecStart=/bin/sh -c 'echo "Foo bar"'
 Type=oneshot
-User=nobody
+User=daemon
 SystemCallFilter=~read write open execve ioperm
 SystemCallFilter=ioctl
 SystemCallFilter=read write open execve