mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
The test-engine Test2 tests the cycle detection when units a, b and d
all start at once
,-------------------after-----------------,
v |
a/start ---after---> d/start ---after---> b/start
Extend the test with Test11 that adds i.service which causes a and d
stop (by unordered Conflicts=) while starting b. Because stops precede
starts, we effectively eliminate the job cycle and all transaction jobs
should be applicable.
,-------------------after-----------------,
v |
a/stop <---after--- d/stop <---after--- b/start
. . ^
. . |
'. . . . . . . . . i/start ---after------'
9 lines
114 B
Desktop File
9 lines
114 B
Desktop File
[Unit]
|
|
Description=I
|
|
Conflicts=a.service d.service
|
|
Wants=b.service
|
|
After=b.service
|
|
|
|
[Service]
|
|
ExecStart=/bin/true
|