1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 23:51:28 +03:00
systemd/test/exec-workingdirectory.service

8 lines
206 B
SYSTEMD
Raw Normal View History

[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