summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-execsearchpath-unit-specifier.service
blob: a2037e930df4b999a0fe945d0337dd977373f4df (plain)
1
2
3
4
5
6
7
8
# SPDX-License-Identifier: LGPL-2.1-or-later
[Unit]
Description=Test for specifiers with exec search path

[Service]
Type=oneshot
ExecSearchPath=/tmp:/bin:/usr/bin:%V
ExecStart=sh -x -c 'test %V = /var/tmp && test "$$PATH" = "/tmp:/bin:/usr/bin:/var/tmp"'