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