summaryrefslogtreecommitdiff
path: root/man/systemd.unit.xml
AgeCommit message (Collapse)Author
2012-07-31doc: clarification in system.unit man pageZbigniew Jędrzejewski-Szmek
2012-07-26man: rewrite the description of PartOfMichal Schmidt
2012-07-26systemd: added new dependency PartOfMichal Sekletar
This should address TODO item "new dependency type to "group" services in a target". Semantic of new dependency is as follows. Once configured it creates dependency which will cause that all dependent units get stopped if unit they all depend on is stopped or restarted. Usual use case would be configuring PartOf=some.target in template unit file and WantedBy=some.target in [Install] section and enabling desired number of instances. In this case starting one instance won't pull in target but stopping or starting target(in case of WantedBy is properly configured) will cause stop/start of all instances.
2012-07-16man: reword man page titlesLennart Poettering
Make sure the man page titles are similar in style and capitalization so that our man page index looks pretty.
2012-07-16unit: introduce %s specifier for the user shellLennart Poettering
2012-07-16unit: printf specifiers %u and %h: $USER and $HOME.Auke Kok
These printf specifiers allow us to refer to $HOME and $USER in unit files. These are particularly helpful in instanced units that have "User=" set, and in systemd --user domains. The specifiers will return the pw_name and pw_dir fields if the unit file has a User= field. If the unit file does not have a User= field, the value substituted is either $USER or $HOME from the environment, or, if unset, the values from pw_name or pw_dir. This patch is somewhat after Ran Benita's original patch, which didn't get merged. I've split up the 2 specifiers and extended them to do what is logically expected from these specifiers. Note that expansion is done at `start` time, not after the units are parsed. Using `systemctl show` will just show the specifiers.
2012-07-13unit: rename BindTo= to BindsTo=Lennart Poettering
all other dependencies are in 3rd person. Change BindTo= accordingly to BindsTo=. Of course, the dependency is widely used, hence we parse the old name too for compatibility.
2012-06-22unit: drop the Names= optionLennart Poettering
Names= is a source of errors, simply because alias names specified like this only become relevant after a unit has been loaded but cannot be used to load a unit. Let's get rid of the confusion and drop this field. To establish alias names peope should use symlinks, which have the the benefit of being useful as key to load a unit, even though they are not taken into account if unit names are listed but they haven't been explicitly referenced before.
2012-05-22units: remove service sysv_path variable and replace it by generic unit_pathLennart Poettering
UnitPath= is also writable via native units and may be used by generators to clarify from which file a unit is generated. This patch also hooks up the cryptsetup and fstab generators to set UnitPath= accordingly.
2012-05-21unit: introduce RequiredBy= setting in [Install], to complement WantedBy=Lennart Poettering
2012-05-21units: introduce new Documentation= field and make use of it everywhereLennart Poettering
This should help making the boot process a bit easier to explore and understand for the administrator. The simple idea is that "systemctl status" now shows a link to documentation alongside the other status and decriptionary information of a service. This patch adds the necessary fields to all our shipped units if we have proper documentation for them.
2012-04-30unit: add new dependency type RequiresMountsFor=Lennart Poettering
RequiresMountsFor= is a shortcut for adding requires and after dependencies to all mount units neeed for the specified paths. This solves a couple of issues regarding dep loop cycles for encrypted swap.
2012-04-17man: Fix a few typosMichael Biebl
Reported-by: A. Costa <agcosta@gis.net> Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=668344
2012-04-12unit: introduce ConditionPathIsReadWriteLennart Poettering
2012-04-12relicense to LGPLv2.1 (with exceptions)Lennart Poettering
We finally got the OK from all contributors with non-trivial commits to relicense systemd from GPL2+ to LGPL2.1+. Some udev bits continue to be GPL2+ for now, but we are looking into relicensing them too, to allow free copy/paste of all code within systemd. The bits that used to be MIT continue to be MIT. The big benefit of the relicensing is that closed source code may now link against libsystemd-login.so and friends.
2012-03-15virt: the pidns controller does not exist anymoreLennart Poettering
2012-01-25virt: detect LXC+libvirt containersLennart Poettering
2012-01-11unit: implement new PropagateReloadTo=/PropagateReloadFrom= operationsLennart Poettering
2011-10-11unit: introduce ConditionCapabilityLennart Poettering
2011-10-11man: .include directive does not include as textual include it includes by ↵Barry Scott
parsing the include file. This means that section headers must be used inside of a .include file otherwise all the lines are ignored.
2011-09-23condition: optionally test against type of virtualization (vm vs. container)Lennart Poettering
2011-09-23util: detect systemd-nspawn without relying on ns cgroup treeLennart Poettering
2011-09-21condition: add ConditionPathIsSymbolicLinkMichal Schmidt
2011-09-21condition: always follow symlinks for condition checks, to mimic testLennart Poettering
2011-09-21unit: introduce ConditionPathIsMountPoint=Lennart Poettering
2011-09-20man: document which condition tests follow symlinksMichal Schmidt
ConditionPathExists and ConditionFileIsExecutable follow symlinks. ConditionPathIsDirectory does not follow symlinks. (XXX: is this actually the desired behavior?)
2011-09-06man: list specifiers in a tableMathieu Bridon
It was noted on IRC that the current layout is not necessarily the easiest to parse by humans. I personnally struggled understanding it the first time I read it. Hopefully, this change makes it easier to understand. Note: I only reformatted the information that was already present in the documentation, I didn't add anything.
2011-07-12unit: introduce ConditionFileIsExecutable= and use it where we check for a ↵Lennart Poettering
binary we'll spawn
2011-07-11man: un-reverse IgnoreOnSnapshot descriptionZbigniew Jędrzejewski-Szmek
I think that snapshots & devices are actually _not_ captured in snapshots.
2011-07-07path,unit: support globbing in conditions and path unitsLennart Poettering
2011-07-01unit: add three new specifiers to use in unit filesLennart Poettering
2011-06-20man: Documentation spelling fixesVille Skyttä
2011-05-05unit: make ignoring in snapshots a per unit property, instead of a per unit ↵Lennart Poettering
type property
2011-04-16manager: introduce IgnoreOnIsolate flag so that we can keep systemd-logger ↵Lennart Poettering
around when isolating
2011-04-07unit: introduce OnFailureIsolate=Lennart Poettering
2011-04-03condition: use 'selinux' rather than 'SELinux' as preferred spellingLennart Poettering
The virtualization condition and others use lowercase identifiers, so for the sake of keeping things least surprising, use lowercase identifiers here too.
2011-04-03man: document ConditionSecurityMichal Schmidt
2011-04-01man: document ConditionPathIsDirectory=Lennart Poettering
2011-03-18man: document pidns containersLennart Poettering
2011-03-18units: deemphesize Names= settings, and explain why nobody whould use themLennart Poettering
2011-03-18man: document .requires/ directoriesLennart Poettering
2011-03-08unit: distuingish mandatory from triggering conditionsLennart Poettering
2011-02-21unit: introduce ConditionVirtualization=Lennart Poettering
2011-01-01man: remaining spelling fixesMiklos Vajna
2010-11-18man: trivial BindTo description fixAndrey Borzenkov
I guess "unexpected" implies "without involvement".
2010-11-15unit: introduce ConditionDirectoryNotEmpty=Lennart Poettering
2010-11-10unit: add ConditionNull= conditionLennart Poettering
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-29unit: replace StopRetroactively= by BindTo= dependenciesLennart Poettering
The property StopRetroactively= needs to be per-dependency, not per-unit, in order to properly express dependencies between .mount units and its .device and fsck .service units. If the .device unit is unplugged the mount should go away, but if the fsck process terminates the .mount should stay.
2010-10-28unit: replace recursive_stop by stop_retroactively to simplify things a littleLennart Poettering