1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-14 15:21:37 +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