summaryrefslogtreecommitdiffstats
path: root/man/systemd.unit.xml (follow)
Commit message (Collapse)AuthorAgeFilesLines
* tree-wide: s/time-out/timeout/gZbigniew Jędrzejewski-Szmek2018-12-141-2/+2
| | | | | | | | | | | | | | | | | From WordNet (r) 3.0 (2006) [wn]: time-out n 1: a brief suspension of play; "each team has two time-outs left" From The Free On-line Dictionary of Computing (18 March 2015) [foldoc]: timeout A period of time after which an error condition is raised if some event has not occured. A common example is sending a message. If the receiver does not acknowledge the message within some preset timeout period, a transmission error is assumed to have occured.
* Merge pull request #11038 from keszybz/man-timeoutsYu Watanabe2018-12-071-6/+12
|\ | | | | Small improvements for documentation of timeout options
| * man: split the descriptions of Job*TimeoutSec and JobTimeoutActionZbigniew Jędrzejewski-Szmek2018-12-031-6/+12
| | | | | | | | | | Those are really two different things, and it seems more natural to describe them as separate items.
* | cgroup: Use varname for cgroup_disable documentationChris Down2018-12-041-6/+6
|/ | | | | | | | The current use of literal + replaceable is pretty ugly as it usually ends up with cgroup_disable= rendered in quotes, which looks really weird, and this doesn't conform with others of a similar type (for example, the earlier `DefaultDependencies=no` discussion in the same file.
* man: document FailureActionExitStatus=/SuccessActionExitStatus=Lennart Poettering2018-11-271-4/+20
|
* man: update description of Description=Zbigniew Jędrzejewski-Szmek2018-11-221-9/+15
| | | | | | The way this is used drifted a bit from the original intent. Let's update the description and add some examples to inspire people to texts that look less bad during initial boot.
* man: fix system.generator in systemd.unitMichael Biebl2018-11-091-6/+6
| | | | Fixes: #10713
* man: Fix a couple grammatical errorsMatthew Leeds2018-10-311-2/+2
|
* man: don't claim that AssertXYZ= expressions failing had an effect on unit stateLennart Poettering2018-10-301-9/+17
| | | | | | | | | | | | | | | | | In the documentation for ConditionXYZ= we claimed that AssertXYZ= would have an effect on unit state (which is wrong), while at the documentation for AssertXYZ= we said it only has an effect on the job, but not the unit (which is right). Let's fix this contradiction, and only claim the latter. Also, fix a couple of other things (for example, stop talking about a "failure state", but let's just expressly called it "the 'failed' state", as that's the actual name of that state. Finally, let's emphasize again when the conditions/assertions are executed, and that they hence are not useful to conditionalize deps. Fixes: #10433
* units: allow and use SuccessAction=exit-force in system systemd-exit.serviceZbigniew Jędrzejewski-Szmek2018-10-171-4/+3
| | | | | | | | | C.f. 287419c119ef961db487a281162ab037eba70c61: 'systemctl exit 42' can be used to set an exit value and pulls in exit.target, which pulls in systemd-exit.service, which calls org.fdo.Manager.Exit, which calls method_exit(), which sets the objective to MANAGER_EXIT. Allow the same to happen through SuccessAction=exit. v2: update for 'exit' and 'exit-force'
* core: define "exit" and "exit-force" actions for user units and only accept thatZbigniew Jędrzejewski-Szmek2018-10-171-10/+16
| | | | | | | | | | We would accept e.g. FailureAction=reboot-force in user units and then do an exit in the user manager. Let's be stricter, and define "exit"/"exit-force" as the only supported actions in user units. v2: - rename 'exit' to 'exit-force' and add new 'exit' - add test for the parsing function
* man: move description of *Action= modes to FailureAction=/SuccessAction=Zbigniew Jędrzejewski-Szmek2018-10-171-21/+23
| | | | | | | | | FailureAction=/SuccessAction= were added later then StartLimitAction=, so it was easiest to refer to the existing description. But those two settings are somewhat simpler (they just execute the action unconditionally) while StartLimitAction= has additional timing and burst parameters, and they are about to take on a more prominent role, so let's move the description of allowed values.
* shared: add %g, %G specifiers for group / gid (#10368)Davide Cavalca2018-10-131-2/+12
|
* man: explain the two search paths in the SYNOPSIS with a headerLennart Poettering2018-10-081-6/+12
|
* man,docs: document the new unit file directory for attached imagesLennart Poettering2018-10-081-0/+2
|
* man: move explanations about boolean and time-span value from systemd.unit ↵Yu Watanabe2018-07-301-17/+0
| | | | | | to systemd.syntax Fixes #9735.
* 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.
* condition: add new conditon ConditionSecurity=uefi-securebootLennart Poettering2018-06-201-8/+6
| | | | | We have the detector call for this anyway, and it's useful for conditioning out dbxtool.service, hence let's add this tiny new option.
* core: add unit specifier for configuration directory rootYu Watanabe2018-06-201-0/+5
| | | | Follow-up for 14068e17f32a06e6a1f8f72416018bc653b8ea2d.
* 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.
* doc: more spelling fixesMichael Biebl2018-06-121-3/+3
|
* man: recommend After= with Requisite=Zbigniew Jędrzejewski-Szmek2018-05-291-4/+6
| | | | Fixes #8309.
* core: introduce specifiers for /tmp and /var/tmpLennart Poettering2018-05-291-0/+10
| | | | | | | | | | | This corresponds nicely with the specifiers we already pass for /var/lib, /var/cache, /run and so on. This is particular useful to update the test-path service files to operate without guessable files, thus allowing multiple parallel test-path invocations to pass without issues (the idea is to set $TMPDIR early on in the test to some private directory, and then only use the new %T or %V specifier to refer to it).
* man: sort specifier list in systemd.unit(5) alphabeticallyLennart Poettering2018-05-291-49/+49
| | | | | | | | | | | | | | | Usually, we order our settings in our unit files in a logical order, grouping related settings together, and putting more relevant stuff first, instead of following a strictly alphabetical order. For specifiers I think it makes sense to follow an alphabetical order however, since they literally are just characters, and hence I think the concept of alphabetical ordering is much more commanding for them. Also, since specifiers are usually not used in combination, but mostly used indepdently of each other I think it's not that important to group similar ones together. No other changes except the reordering.
* man: fix typo in man page citationZbigniew Jędrzejewski-Szmek2018-05-211-1/+1
| | | | Fixes #9045.
* Add %j/%J unit specifiersZbigniew Jędrzejewski-Szmek2018-04-241-1/+11
| | | | | | | | | Those are quite similar to %i/%I, but refer to the last dash-separated component of the name prefix. The new functionality of dash-dropins could largely supersede the template functionality, so it would be tempting to overload %i/%I. But that would not be backwards compatible. So let's add the two new letters instead.
* man: fix description of %N in systemd.unit(5)Zbigniew Jędrzejewski-Szmek2018-04-241-6/+6
| | | | | | | | | | | The description in the man page disagreed with the code. Let the code win, since if anybody is using this, they are more likely to depend on actual behaviour rather than the docs. (In Fedora workstation installation there's only one use, and it doesn't make much sense either way: SyslogIdentifier=%N in xfs_scrub@.service.) Also adds dots at the end everywhere, because we have multiple sentences in some explanations, so we need dots.
* man: merge two sections into two subsections of one sectionZbigniew Jędrzejewski-Szmek2018-04-181-34/+34
| | | | Those are very close subjects that are a good fit for one section.
* man: describe unit templating explicitlyZbigniew Jędrzejewski-Szmek2018-04-181-15/+17
| | | | | | | This patch is heavily based on the text suggested by archenemies in #3791. Fixes #3791.
* man: briefly document Following=Zbigniew Jędrzejewski-Szmek2018-04-181-1/+10
| | | | Fixes #1914.
* man: add a new page with a general description of common syntaxZbigniew Jędrzejewski-Szmek2018-04-181-26/+7
| | | | | | | | We have a common parser, but for the user it might be completely unobvious that the same general rules apply to all those files. Let's add a page about the basic syntax so that the more specific pages don't have to repeat those details.
* man: document the new dash truncation drop-in directoriesLennart Poettering2018-04-131-9/+18
|
* 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.
* man: there's no point in referenceing systemd.unit(5) from itself (#8338)Lennart Poettering2018-03-021-3/+1
|
* man: add bhyve description for ConditionVirtualization=Shuang Liu2018-02-221-0/+1
| | | | The description in man is missing in #3840.
* virt: detect QNX hypervisorShuang Liu2018-02-221-0/+1
| | | | | | Detect QNX hypervisor based on the CPUID. Fixes: #7239
* man: document unit load pathsZbigniew Jędrzejewski-Szmek2018-02-091-19/+96
| | | | | | | | | | | | | | | | So far we didn't document control, transient, dbus config, or generator paths. But those paths are visible to users, and they need to understand why systemd loads units from those paths, and how the precedence hierarchy looks. The whole thing is a bit messy, since the list of paths is quite long. I made the tables a bit shorter by combining rows for the alternatives where $XDG_* is set and the fallback. In various places, tags are split like <element param="blah"> this. This is necessary to keep everyting in one logical XML line so that docbook renders the table properly. Replaces #8050.
* man: clarify that Requires stop propagation only applies to explit requestsZbigniew Jędrzejewski-Szmek2018-01-201-2/+2
| | | | | | | | | | | | | | | | Follow-up for e79eabdb1becc93cf4afc909aa18dc40c931eab5. There was an apparent contradiction: man/systemd.unit says for Requires=: Besides, with or without specifying After=, this unit will be deactivated if one of the other units get deactivated. Also, some unit types may deactivate on their own (for example, a service process may decide to exit cleanly, or a device may be unplugged by the user), which is not propagated to units having a Requires= dependency. Fixes #7870.
* condition: extend ConditionKernelVersion= with relative version checksLennart Poettering2017-12-261-1/+3
| | | | | Now that we have str_verscmp() in our source tree anyway, let's make it generic and reuse it for ConditionKernelVersion=.
* Add note about kernel version unportabilityZbigniew Jędrzejewski-Szmek2017-12-261-0/+5
|
* core,udev,networkd: add ConditionKernelVersion=Lennart Poettering2017-12-261-0/+6
| | | | | | | | | | This adds a simple condition/assert/match to the service manager, to udev's .link handling and to networkd, for matching the kernel version string. In this version we only do fnmatch() based globbing, but we might want to extend that to version comparisons later on, if we like, by slightly extending the syntax with ">=", "<=", ">", "<" and "==" expressions.
* condition: Create AssertControlGroupController (#7630)Chris Down2017-12-181-0/+14
| | | | | | | | | | | | | | | | | | Up until now, the behaviour in systemd has (mostly) been to silently ignore failures to action unit directives that refer to an unavailble controller. The addition of AssertControlGroupController and its conditional counterpart allow explicit specification of the desired behaviour when such a situation occurs. As for how this can happen, it is possible that a particular controller is not available in the cgroup hierarchy. One possible reason for this is that, in the running kernel, the controller simply doesn't exist -- for example, the CPU controller in cgroup v2 has only recently been merged and was out of tree until then. Another possibility is that the controller exists, but has been forcibly disabled by `cgroup_disable=` on the kernel command line. In future this will also support whatever comes out of issue #7624, `DefaultXAccounting=never`, or similar.
* man: Clarify when OnFailure= activates after restarts (#7646)Ken (Bitsko) MacLeod2017-12-151-1/+3
|
* man: systemd.unit: move note about clearing lists (#7621)Daniel Black2017-12-141-8/+6
| | | This is mainly for drop-in files.
* man: normalize indentation in systemd.unit.xmlZbigniew Jędrzejewski-Szmek2017-12-081-90/+89
|
* man: add a table of setting inversesZbigniew Jędrzejewski-Szmek2017-12-081-1/+107
| | | | | | | | | | | | It would be nicer to use <footnote> to place the notes directly in the table, but docbook renders this improperly. v2: - also add "RequiredBy=" to the notes section - remove duplicated paragraph v3: - clarify the description - drop References/ReferenceBy which are only shown in systemd-analyze dump
* man: mention BoundsBy=, ConsistsOf=, RequisiteOf=Zbigniew Jędrzejewski-Szmek2017-12-071-3/+24
| | | | Fixes #7043.
* man: improve formatting in systemd.unit.xmlZbigniew Jędrzejewski-Szmek2017-12-061-4/+4
|