Debian Codegraph @

test/testdata/test-execute/exec-basic.service

raw
1 # SPDX-License-Identifier: LGPL-2.1-or-later
2 [Unit]
3 Description=Test for basic execution
4 ConditionKernelVersion=">=3.0"
5 ConditionKernelVersion=">=2.0" "<=60" "!=1.4"
6 ConditionKernelVersion=" >= 2.0" " <= 60 " "!= 1.4"
7 ConditionKernelVersion=" >= 2.0" " * " "*.*"
8
9 ConditionVersion=kernel ">=3.0"
10 ConditionVersion=kernel ">=2.0" "<=60" "!=1.4"
11 ConditionVersion=kernel " >= 2.0" " <= 60 " "!= 1.4"
12 ConditionVersion=kernel " >= 2.0" " * " "*.*"
13
14 ConditionVersion=">=3.0"
15 ConditionVersion=">=2.0" "<=60" "!=1.4"
16 ConditionVersion=" >= 2.0" " <= 60 " "!= 1.4"
17 ConditionVersion=" >= 2.0" " * " "*.*"
18
19 ConditionVersion=systemd ">=30"
20 ConditionVersion=systemd ">=20" "<=9000" "!=14"
21 ConditionVersion=systemd " >= 20" " <= 9000 " "!= 14"
22 ConditionVersion=systemd " >= 20" " * "
23
24 ConditionVersion=glibc ">=2"
25 ConditionVersion=glibc ">=2" "<=9000" "!=1"
26 ConditionVersion=glibc " >= 2" " <= 9000 " "!= 1"
27 ConditionVersion=glibc " >= 2" " * "
28
29 [Service]
30 ExecStart=touch /tmp/a ; bash -c 'touch /tmp/b' ; touch /tmp/c
31 ExecStart=test -f /tmp/a
32 ExecStart=!test -f /tmp/b
33 ExecStart=!!test -f /tmp/c
34 ExecStartPost=rm /tmp/a /tmp/b /tmp/c
35
36 PrivateTmp=true
37 Type=oneshot