systemd/test/testsuite-03.units/always-activating.service
Andrew Stone dc06321fe3 job: Don't discard propagated restart jobs when unit is activating
When a service unit Requires= a socket, and the socket is restarted while the
service is in state=activating, the propagated restart is being discarded. This
is contrary to the documentation for Requires=, which states "this unit will be
stopped (or restarted) if one of the other units is explicitly stopped (or
restarted)".
2022-08-25 16:38:23 -07:00

9 lines
185 B
Desktop File

[Unit]
Description=Service that never leaves state ACTIVATING
Requires=always-activating.socket
After=always-activating.socket
[Service]
Type=notify
ExecStart=bash -c 'sleep infinity'