mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
dc06321fe3
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)".
9 lines
185 B
Desktop File
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'
|