summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-workingdirectory.service
blob: 10855d682ad108b5b2c35fb1cc6e64d2c218a8bb (plain)
1
2
3
4
5
6
7
[Unit]
Description=Test for WorkingDirectory

[Service]
ExecStart=/bin/sh -c 'echo $PWD; exit $(test $PWD = "/tmp/test-exec_workingdirectory")'
Type=oneshot
WorkingDirectory=/tmp/test-exec_workingdirectory