summaryrefslogtreecommitdiff
path: root/test/exec-user.service
blob: 2ca08ebb42726b2061be6e87d7f82fc7ef49b31b (plain)
1
2
3
4
5
6
[Unit]
Description=Test for User

[Service]
ExecStart=/bin/sh -c 'exit $(test "$USER" = nobody)'
User=nobody