test-path: use Type=exec
In general, Type=exec is superior to Type=simple. Let's not assume that the service is started before it was really started.
This commit is contained in:
parent
fcb7138ca7
commit
333d102c64
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
|
@ -3,5 +3,5 @@ Description=Service Test Path Unit
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/bin/true
|
ExecStart=/bin/true
|
||||||
Type=simple
|
Type=exec
|
||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
|
|
Loading…
Reference in a new issue