summaryrefslogtreecommitdiff
path: root/test/test-execute/exec-execsearchpath-environment.service
blob: ba477fbdcdb816b108171a4332f9f8d6a3057e5f (plain)
1
2
3
4
5
[Service]
ExecStart=/bin/sh -x -c 'test "$$VAR1" = "word1 word2" && test "$$VAR2" = word3 && test "$$VAR3" = "\\$$word 5 6" && test "$$PATH" = "/tmp:/bin"'
Type=oneshot
ExecSearchPath=/tmp:/bin
Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"