Debian Codegraph @

test/testdata/test-execute/[email protected]

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for specifiers (template unit)
4
5 [Service]
6 Type=oneshot
7 ExecStart=test %n = [email protected]
8 ExecStart=test %N = exec-specifier@foo-bar
9 ExecStart=test %p = exec-specifier
10 ExecStart=test %P = exec/specifier
11 ExecStart=test %i = foo-bar
12 ExecStart=test %I = foo/bar
13 ExecStart=test %j = specifier
14 ExecStart=test %J = specifier
15 ExecStart=test %f = /foo/bar
16 ExecStart=bash -c 'test %u = $$(id -un)'
17 ExecStart=bash -c 'test %U = $$(id -u)'
18 ExecStart=bash -c 'test %g = $$(id -gn)'
19 ExecStart=bash -c 'test %G = $$(id -g)'
20 ExecStart=test %h = /root
21 ExecStart=bash -c 'test -x %s'
22 ExecStart=bash -c 'test %b = $$(cat /proc/sys/kernel/random/boot_id | sed -e 's/-//g')'
23 ExecStart=bash -c 'test %H = $$(uname -n)'
24 ExecStart=bash -c 'test %v = $$(uname -r)'