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