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

[Service]
ExecStart=/bin/sh -x -c 'test "$$USER" = "nobody"'
Type=oneshot
User=nobody