File: exec-workingdirectory.service

package info (click to toggle)
systemd 232-25%2Bdeb9u12
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 46,192 kB
  • sloc: ansic: 290,590; xml: 49,217; makefile: 5,503; sh: 4,031; python: 2,596; perl: 1,838
file content (7 lines) | stat: -rw-r--r-- 193 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
[Unit]
Description=Test for WorkingDirectory

[Service]
ExecStart=/bin/sh -x -c 'test "$$PWD" = "/tmp/test-exec_workingdirectory"'
Type=oneshot
WorkingDirectory=/tmp/test-exec_workingdirectory