File: exec-workingdirectory.service

package info (click to toggle)
systemd 247.3-7%2Bdeb11u4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye-updates
  • size: 71,320 kB
  • sloc: ansic: 459,704; xml: 82,646; python: 24,815; sh: 8,987; perl: 2,684; makefile: 275; awk: 93; lisp: 13; sed: 1
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