diff options
Diffstat (limited to 'test/test-execute/exec-user.service')
-rw-r--r-- | test/test-execute/exec-user.service | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/test-execute/exec-user.service b/test/test-execute/exec-user.service new file mode 100644 index 0000000000..2ca08ebb42 --- /dev/null +++ b/test/test-execute/exec-user.service @@ -0,0 +1,6 @@ +[Unit] +Description=Test for User + +[Service] +ExecStart=/bin/sh -c 'exit $(test "$USER" = nobody)' +User=nobody |