HALF ECHO LEARN / REFERENCE COLLECTION
v262.2test/test-execute/exec-execsearchpath-environment.service
Git blob: aed95cbe9e6d2695f8d02cf52d194a91a9099ba2
Lines 1–7 of 7
# SPDX-License-Identifier: LGPL-2.1-or-later
[Service]
ExecStart=bash -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"