summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-execsearchpath-unit-specifier.service
blob: 30d6b3280d8e601de9ae3c725d4d22259dfb7727 (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=/bin/sh -x -c 'test %V = /var/tmp && test "$$PATH" = "/tmp:/bin:/usr/bin:/var/tmp"'