mirror of
https://github.com/morgan9e/systemd
synced 2026-04-14 08:25:20 +09:00
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:
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test for Path units
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
@@ -3,5 +3,5 @@ Description=Service Test Path Unit
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/true
|
||||
Type=simple
|
||||
Type=exec
|
||||
RemainAfterExit=true
|
||||
|
||||
Reference in New Issue
Block a user