summaryrefslogtreecommitdiffstats
path: root/test/test-execute/exec-basic.service
blob: 8b672fcecbc88083b5030f3da787cb16a22bce75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=Test for basic execution

[Service]
ExecStart=touch /tmp/a ; /bin/sh -c 'touch /tmp/b' ; touch /tmp/c
ExecStart=test -f /tmp/a
ExecStart=!test -f /tmp/b
ExecStart=!!test -f /tmp/c
ExecStart=+test -f /tmp/c
ExecStartPost=rm /tmp/a /tmp/b /tmp/c

PrivateTmp=true
Type=oneshot