summaryrefslogtreecommitdiff
path: root/src/run
Commit message (Collapse)AuthorAge
* Fix two compiler warningsZbigniew Jędrzejewski-Szmek2013-09-09
|
* run: allow non-absolute paths as commandZbigniew Jędrzejewski-Szmek2013-09-09
|
* core: open up SendSIGHUP property for transient unitsLennart Poettering2013-07-30
|
* core: allow setting RemainAfterExit= for transient servicesLennart Poettering2013-07-26
|
* man: extend systemd-run man page a littleLennart Poettering2013-07-19
|
* core: add support to run transient units in arbitrary slicesLennart Poettering2013-07-01
|
* core: allow setting of the description string for transient unitsLennart Poettering2013-07-01
|
* core: add new "scope" unit type for making a unit of pre-existing processesLennart Poettering2013-07-01
| | | | | | | | | | | | | | | | | "Scope" units are very much like service units, however with the difference that they are created from pre-existing processes, rather than processes that systemd itself forks off. This means they are generated programmatically via the bus API as transient units rather than from static configuration read from disk. Also, they do not provide execution-time parameters, as at the time systemd adds the processes to the scope unit they already exist and the parameters cannot be applied anymore. The primary benefit of this new unit type is to create arbitrary cgroups for worker-processes forked off an existing service. This commit also adds a a new mode to "systemd-run" to run the specified processes in a scope rather then a transient service.
* core: add transient unitsLennart Poettering2013-06-28
Transient units can be created via the bus API. They are configured via the method call parameters rather than on-disk files. They are subject to normal GC. Transient units currently may only be created for services (however, we will extend this), and currently only ExecStart= and the cgroup parameters can be configured (also to be extended). Transient units require a unique name, that previously had no configuration file on disk. A tool systemd-run is added that makes use of this functionality to run arbitrary command lines as transient services: $ systemd-run /bin/ping www.heise.de Will cause systemd to create a new transient service and run ping in it.