summaryrefslogtreecommitdiffstats
path: root/man/systemd-socket-proxyd.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* tree-wide: fixes for assorted grammar and spelling issuesZbigniew Jędrzejewski-Szmek2020-07-061-1/+1
| | | | Fixes #16363. Also includes some changes where I generalized the pattern.
* socket-proxy: Support exit-on-idleEric Anderson2020-05-061-0/+10
| | | | | | | | | | | | | | This adds the --exit-idle-time argument that causes systemd-socket-proxyd to exit when there has been an idle period. An open connection prevents the idle period from starting, even if there is no activity on that connection. When combined with another service that uses StopWhenUnneeded=, the proxy exiting can trigger a resource-intensive process to exit. So although the proxy may consume minimal resources, significant resources can be saved indirectly. Fixes #2106
* man: use same header for all filesZbigniew Jędrzejewski-Szmek2019-03-141-2/+2
| | | | | | | 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-3/+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: also use "yes"/"no" rather than "true"/"false" in man pagesLennart Poettering2018-10-131-1/+1
| | | | | | | | | 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
* tree-wide: drop copyright lines for more authorsZbigniew Jędrzejewski-Szmek2018-06-221-2/+0
| | | | Acks in https://github.com/systemd/systemd/issues/9320.
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-8/+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: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* 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: don't place nginx socket in /tmp (#8757)Lennart Poettering2018-04-181-2/+2
| | | | | | | | | | | First of all, it's frickin' ugly and wrong, as IPC sockets should be placed in /run and definitely not under a guessable name under world-writable /tmp. Secondly, it can't even work as we set PrivateTmp=yes on the service. Hence, let's clean up the example, and simply use a socket in /run instead. Fixes: #8419
* 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/systemd-socket-proxyd: fix unit dependencies in examples (#7340)Roland Hieber2017-11-151-3/+3
| | | | | | This was probably a typo, since depending proxy-to-nginx.service on itself makes no sense, but depending on the socket does. Signed-off-by: Roland Hieber <r.hieber@pengutronix.de>
* man: document socket requirement for systemd-socket-proxyd (#6535)dkg2017-08-061-0/+4
| | | | | | | | | | | | | | | | Without this requirement, if proxy-to-nginx.socket was down, and the sysadmin were to do: systemctl start proxy-to-nginx.service then the service would come up without a configured socket, which doesn't make sense. Normally this isn't how we expect a socket-activated service to start, but it's possible for an admin to do this (if the .socket were already running, the systemd-socket-proxyd process will start effectively idle). But the .service shouldn't end up in a broken state if the .socket isn't already listening. Adding the explicit Requires: should ensure that an admin with this configuration state can't accidentally break their system.
* man: use systemctl enable --nowLucas Werkmeister2017-02-071-4/+2
|
* socket-proxyd: fix --connections-max help message and docs (#5044)(GalaxyMaster)2017-01-101-1/+1
|
* man: use unicode ellipsis in more placesZbigniew Jędrzejewski-Szmek2016-12-111-4/+4
| | | | | | | | | | | | | | As requested in https://github.com/systemd/systemd/pull/4864#pullrequestreview-12372557. docbook will substitute triple dots for the ellipsis in man output, so this has no effect on the troff output, only on HTML, making it infinitesimally nicer. In some places we show output from programs, which use dots, and those places should not be changed. In some tables, the alignment would change if dots were changed to the ellipsis which is only one character. Since docbook replaces the ellipsis automatically, we should leave those be. This patch changes all other places.
* socket-proxyd: Introduced dynamic connection limit via an option. (#4749)(GalaxyMaster)2016-11-281-0/+7
|
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-6/+3
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* man: Second example systemd-socket-proxyd does not need a Unix socket listener.David Strauss2015-03-241-1/+0
|
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-141-4/+4
| | | | All hail linkchecker!
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-041-133/+129
|
* man: xinclude --help/--version/--no-pagerZbigniew Jędrzejewski-Szmek2014-02-211-16/+5
|
* man: always place <programlisting> and </programlisting> in a line with ↵Lennart Poettering2014-02-141-28/+14
| | | | actual sources, so that we don't get spurious newlines in the man page output
* man: move socket-proxyd man page to section 8, since it is not in the $PATHLennart Poettering2013-11-281-1/+1
|
* man: get rid of shell script example in systemd-socket-proxyd man pageLennart Poettering2013-11-281-52/+40
|
* Revert "socket-proxyd: Add --listener option for listener/destination pairs."Lennart Poettering2013-11-281-1/+1
| | | | | | | | | | | This reverts commit adcf4c81c58511b67644e17fa743d1729d3c9ccf. We have a better solution for the problem of making two processes run in the same namespace, and --listener is not needed hence and should be dropped. Conflicts: man/systemd-socket-proxyd.xml
* Revert "socket-proxyd: Add --listener option for listener/destination pairs."Lennart Poettering2013-11-271-79/+1
| | | | | | | | | | | This reverts commit adcf4c81c58511b67644e17fa743d1729d3c9ccf. We have a better solution for the problem of making two processes run in the same namespace, and --listener is not needed hence and should be dropped. Conflicts: man/systemd-socket-proxyd.xml
* socket-proxyd: Fix man page because --listener takes an argument.David Strauss2013-11-251-1/+1
|
* socket-proxyd: Add --listener option for listener/destination pairs.David Strauss2013-11-251-1/+79
|
* man: simplify socket-proxyd examplesLennart Poettering2013-11-221-5/+3
|
* man: wording and grammar updatesJan Engelhardt2013-11-071-1/+1
| | | | | This is a recurring submission and includes corrections to various issue spotted: comma setting, missing words/preposition choice.
* socket-proxyd: rework to support multiple sockets and splice()-based ↵Lennart Poettering2013-11-061-45/+25
| | | | | | | | | zero-copy network IO This also drops --ignore-env, which can't really work anymore if we allow multiple fds. Also adds support for pretty printing of peer identities for debug purposes, and abstract namespace UNIX sockets. Also ensures that we never take more connections than a certain limit.
* man: avoid the use of sudo in examplesJan Engelhardt2013-10-221-6/+6
| | | | | sudo is not the first-class tool on all distros. Just require any superuser shell.
* man: wording and grammar updatesJan Engelhardt2013-10-221-5/+5
| | | | | This is a recurring submission and includes corrections to various issue spotted.
* socket-proxyd(1): fix references to non-existant filesDave Reisner2013-10-211-3/+3
| | | | | socket.target -> sockets.target /usr/bin/systemd-socket-proxyd -> /usr/lib/systemd/systemd-socket-proxyd
* socket-proxyd: rename from saproxyLennart Poettering2013-10-181-0/+254
The thing is a daemon, hence needs a "d" prefix. Also, we tend to not abbreviate names of background components unnecessarily, since they are not primary commands people type. Then, the fact that this thing does socket actviation is mostly in implementationd detail for the proxy. Also, do some minor indenting clean-ups and other code updates.