summaryrefslogtreecommitdiff
path: root/man/systemd.socket.xml
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: link to docs.kernel.org for kernel documentationnl67202022-07-041-2/+2
| | | | | | | https://www.kernel.org/ links to https://docs.kernel.org/ for the documentation. See https://git.kernel.org/pub/scm/docs/kernel/website.git/commit/?id=ebc1c372850f249dd143c6d942e66c88ec610520 These URLs are shorter and nicer looking.
* tree-wide: use html links for kernel docsZbigniew Jędrzejewski-Szmek2022-07-021-2/+2
| | | | Instead of using "*.txt" as reference name, use the actual destination title.
* man: fix typo in systemd.socket.5Luca Boccassi2021-12-181-1/+1
|
* man: suggest usage of CollectMode= in Accept=yes servicesLennart Poettering2021-11-251-26/+22
|
* man: mention pages with more settings at end of each option listZbigniew Jędrzejewski-Szmek2021-09-271-8/+7
| | | | | | | | | | | For some unit types we have hundreds of options, and the reader may easily miss that more options are described in other pages. We already mentioned this in the introduction and then at the top of the option list, but it can't hurt to repeat the information. Also, add an (almost empty) Options section for the unit types which don't have any custom options. It is nicer to have the same page structure in all cases, so people can jump between pages for different types more easily.
* selinux: support infering SELinux label also from socket not connected to stdinMichal Sekletar2021-07-021-4/+6
| | | | Fixes #19918
* tree-wide: fix "the the" and "a a"Yu Watanabe2021-06-301-2/+2
|
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* man: document the new Timestamping= optionLennart Poettering2020-10-271-0/+9
|
* socket-util: make socket_set_recvpktinfo control PACKET_AUXDATA sockopt on ↵Lennart Poettering2020-10-271-4/+5
| | | | | | AF_PACKET Just for the sake of completness.
* man: add references to fifo(7) and mq_overview(7) man pagesLennart Poettering2020-10-271-11/+10
|
* man: use trailing slash on directories in more placesZbigniew Jędrzejewski-Szmek2020-10-051-2/+2
|
* man: assorted small fixesZbigniew Jędrzejewski-Szmek2020-09-301-1/+1
| | | | This is almost all of #17177.
* socket: unified documentation for Accept to use 'yes/no' everywhereRenaud Métrich2020-09-181-4/+4
|
* tree-wide: fix typos found by codespellFrantisek Sumsal2020-09-141-2/+2
| | | | Reported by Fossies.org
* man: always document both the ipv4 and the ipv6 sockoptLennart Poettering2020-09-111-25/+20
|
* Allow interface scopes to be specified in ListenStream=Zbigniew Jędrzejewski-Szmek2020-09-101-13/+15
| | | | | | | | | | Closes #12624. The formatting in systemd.socket.xml is updated a bit. Currently in_addr_port_ifindex_name_to_string() always prints the ifindex numerically. This is not super useful since the interface numbers are semi-random. Should we use interface names in preference?
* socket: New option 'FlushPending' (boolean) to flush socket before entering ↵Renaud Métrich2020-09-011-0/+12
| | | | | | | listening state Disabled by default. When Enabled, before listening on the socket, flush the content. Applies when Accept=no only.
* doc: cross link sd_listen_fd() docs a bitLennart Poettering2020-09-011-10/+8
| | | | | | | | | | | Let's make sure the sd_listen_fd() docs are really found from the .socket file documentation as well as the FileDescriptorStoreMax= documentation. Let's also emphasize that that's where the order in which the fds are passed are documented. Fixes: #16647
* tree-wide: drop quotes from around [section]Zbigniew Jędrzejewski-Szmek2020-07-061-3/+3
| | | | | | | For users, the square brackets already serve as markup and clearly delineate the section name from surrounding text. Putting additional markup around that only adds clutter. Also, we were very inconsistent in using the quotes. Let's just drop them altogether.
* tree-wide: fixes for assorted grammar and spelling issuesZbigniew Jędrzejewski-Szmek2020-07-061-100/+75
| | | | Fixes #16363. Also includes some changes where I generalized the pattern.
* core: add new PassPacketInfo= socket unit propertyLennart Poettering2020-05-271-0/+9
|
* man: Add missing <literal> tags in various man pagesPhilip Withnall2019-06-121-3/+3
| | | | | | | A minor formatting improvement brought to you by the wonders of `git grep`. Signed-off-by: Philip Withnall <withnall@endlessm.com>
* man: reword systemd.socket(5) description to avoid "file" when talking about ↵Zbigniew Jędrzejewski-Szmek2019-05-221-3/+3
| | | | | | | | | | | services This text was written a long time ago, when we mostly talked about "service files". Strictly speaking, we don't need a "file", because the service might be just an instance of a template, or an alias to another service. So let's use the more modern parlance of "service units". https://bugzilla.redhat.com/show_bug.cgi?id=1623781#c21
* man: use same header for all filesZbigniew Jędrzejewski-Szmek2019-03-141-1/+1
| | | | | | | The "include" files had type "book" for some raeason. I don't think this is meaningful. Let's just use the same everywhere. $ perl -i -0pe 's^..DOCTYPE (book|refentry) PUBLIC "-//OASIS//DTD DocBook XML V4.[25]//EN"\s+"http^<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"\n "http^gms' man/*.xml
* man: standarize on one-line license headerZbigniew Jędrzejewski-Szmek2019-03-141-4/+1
| | | | | | No need to waste space, and uniformity is good. $ perl -i -0pe 's|\n+<!--\s*SPDX-License-Identifier: LGPL-2.1..\s*-->|\n<!-- SPDX-License-Identifier: LGPL-2.1+ -->|gms' man/*.xml
* man: add referecne to systemd-system.confYu Watanabe2019-02-011-0/+1
|
* man: document relationship of .socket units and network namespacesLennart Poettering2018-10-301-0/+12
| | | | Fixes: #10018
* man: also use "yes"/"no" rather than "true"/"false" in man pagesLennart Poettering2018-10-131-8/+8
| | | | | | | | | We usually use yes/no in all our unit files, do the same in the man pages. Triggered by: https://github.com/systemd/systemd/pull/9824#issuecomment-420729987
* man: Fixed grammatical error in systemd.socket.xml (#9916)Steve Ramage2018-08-231-2/+2
|
* man: drop mode line in file headersZbigniew Jędrzejewski-Szmek2018-07-031-1/+1
| | | | | This is already included in .dir-locals, so we don't need it in the files themselves.
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-9/+0
| | | | | | | | | | | | Docbook styles required those to be present, even though the templates that we use did not show those names anywhere. But something changed semi-recently (I would suspect docbook templates, but there was only a minor version bump in recent years, and the changelog does not suggest anything related), and builds now work without those entries. Let's drop this dead weight. Tested with F26-F29, debian unstable. $ perl -i -0pe 's/\s*<authorgroup>.*<.authorgroup>//gms' man/*xml
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* man: merge two sections into two subsections of one sectionZbigniew Jędrzejewski-Szmek2018-04-181-47/+51
| | | | Those are very close subjects that are a good fit for one section.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* Add SPDX license identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* man: document that inability to execute Symlinks= is not fatalLennart Poettering2017-09-271-8/+7
| | | | Fixes: #6920
* Merge pull request #6801 from johnlinp/masterLennart Poettering2017-09-141-36/+43
|\ | | | | man: explicitly distinguish "implicit dependencies" and "default dependencies"
| * man: explicitly distinguish "implicit dependencies" and "default dependencies"John Lin2017-09-131-36/+43
| | | | | | | | Fixes: #6793
* | socket: Symlinks= with empty string resets the list of paths.Yu Watanabe2017-09-051-2/+2
|/
* core: add AF_VSOCK support to socket unitsStefan Hajnoczi2017-01-101-0/+8
| | | | | | | | Accept AF_VSOCK listen addresses in socket unit files. Both guest and host can now take advantage of socket activation. The QEMU guest agent has recently been modified to support socket activation and can run over AF_VSOCK with this patch.
* man: typo fixesThomas Hindoe Paaboel Andersen2016-10-121-1/+1
| | | | A mix of fixes for typos and UK english
* man: remove consecutive duplicate words (#4268)Stefan Schweter2016-10-031-1/+1
| | | | | | | This PR removes consecutive duplicate words from the man pages of: * `resolved.conf.xml` * `systemd.exec.xml` * `systemd.socket.xml`
* core: Fix USB functionfs activation and clarify its documentation (#4188)Paweł Szewczyk2016-09-261-3/+3
| | | | | | | | | | There was no certainty about how the path in service file should look like for usb functionfs activation. Because of this it was treated differently in different places, which made this feature unusable. This patch fixes the path to be the *mount directory* of functionfs, not ep0 file path and clarifies in the documentation that ListenUSBFunction should be the location of functionfs mount point, not ep0 file itself.
* socket: add support to control no. of connections from one source (#3607)Susant Sahani2016-08-021-0/+8
| | | | | | Introduce MaxConnectionsPerSource= that is number of concurrent connections allowed per IP. RFE: 1939
* core: change default trigger limits for socket unitsLennart Poettering2016-05-051-6/+7
| | | | | | | Let's lower the default values a bit, and pick different defaults for Accept=yes and Accept=no sockets. Fixes: #3167
* man: rename TriggerLimitIntervalBurst to TriggerLimitBurst (#3181)Evgeny Vereshchagin2016-05-031-1/+1
| | | | | [/etc/systemd/system/test.socket:2] Unknown lvalue 'TriggerLimitIntervalBurst' in section 'Socket' Follow-up for 8b26cdbd2a94
* core: introduce activation rate limiting for socket unitsLennart Poettering2016-04-291-0/+16
| | | | | | | | | | | | | | This adds two new settings TriggerLimitIntervalSec= and TriggerLimitBurst= that define a rate limit for activation of socket units. When the limit is hit, the socket is is put into a failure mode. This is an alternative fix for #2467, since the original fix resulted in issue #2684. In a later commit the StartLimitInterval=/StartLimitBurst= rate limiter will be changed to be applied after any start conditions checks are made. This way, there are two separate rate limiters enforced: one at triggering time, before any jobs are queued with this patch, as well as the start limit that is moved again to be run immediately before the unit is activated. Condition checks are done in between the two, and thus no longer affect the start limit.
* man: clarify that DefaultDependencies= is in the [Unit] sectionLennart Poettering2016-04-121-10/+6
| | | | This hopefully reduces confusion resulting in issues like #2992.