mirror of
https://github.com/systemd/systemd.git
synced 2024-11-13 23:21:08 +03:00
8 lines
206 B
SYSTEMD
8 lines
206 B
SYSTEMD
|
[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
|