2018-03-25 20:50:15 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Test for basic execution
|
2019-06-27 16:11:34 +02:00
|
|
|
ConditionKernelVersion=">=3.0"
|
|
|
|
ConditionKernelVersion=">=2.0" "<=60" "!=1.4"
|
2019-06-28 10:58:06 +02:00
|
|
|
ConditionKernelVersion=" >= 2.0" " <= 60 " "!= 1.4"
|
|
|
|
ConditionKernelVersion=" >= 2.0" " * " "*.*"
|
2018-03-25 20:50:15 +02:00
|
|
|
|
|
|
|
[Service]
|
2018-11-18 19:51:25 +01:00
|
|
|
ExecStart=touch /tmp/a ; /bin/sh -c 'touch /tmp/b' ; touch /tmp/c
|
2018-03-25 20:50:15 +02:00
|
|
|
ExecStart=test -f /tmp/a
|
|
|
|
ExecStart=!test -f /tmp/b
|
|
|
|
ExecStart=!!test -f /tmp/c
|
|
|
|
ExecStartPost=rm /tmp/a /tmp/b /tmp/c
|
|
|
|
|
|
|
|
PrivateTmp=true
|
|
|
|
Type=oneshot
|