diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-04 23:26:31 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-08-05 08:16:31 -0400 |
commit | 9dfb64f87da718284f5c840ac6176dccbfd7dc3e (patch) | |
tree | e7792edceb35552609e112f16d38369f3031e639 /src/test | |
parent | 166cf510c2ba5aed15dcb807ec263ea2201dcb28 (diff) |
core/service: serialize and deserialize accept_socket
This fixes an issue during reexec — the count of connections would be lost:
[zbyszek@fedora-rawhide ~]$ systemctl status testlimit.socket | grep Connected
Accepted: 1; Connected: 1
[zbyszek@fedora-rawhide ~]$ sudo systemctl daemon-reexec
[zbyszek@fedora-rawhide ~]$ systemctl status testlimit.socket | grep Connected
Accepted: 1; Connected: 0
With the patch, Connected count is preserved.
Also add "Accept Socket" to the dump output for services.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions