1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-25 23:21:33 +03:00
Commit Graph

95 Commits

Author SHA1 Message Date
Lennart Poettering
5dc50792ac man: document new shutdown features 2010-08-16 15:56:42 +02:00
Lennart Poettering
b1690fe70a man: document that we now accept more than one main process for Type=oneshot services 2010-08-13 18:46:04 +02:00
Lennart Poettering
34e9ba669e service: rename Type=finish to Type=oneshot and allow multiple ExecStart= lines for oneshot services
In contrast to the other service types oneshot services are usually not
long lasting and there's not necessarily a single clean main process for
them. This change allows multiple ExecStart= lines for this type of
services so that the admin/developer doesn't have to arbitrarily pick on
of various sequential commands as the "main one".
2010-08-13 18:23:01 +02:00
Lennart Poettering
75676b7287 man: document new 'systemctl status PID' syntax 2010-08-13 02:15:10 +02:00
Lennart Poettering
b5e9dba8d6 unit: rename OnlyByDependency= to RefuseManualStart= and introduce RefuseManualStop=
Some unit shall never be start on user request (e.g. shutdown.target)
others never be stopped on user request (e.g. auditd.servce), hence
offer options for both.
2010-08-11 01:44:37 +02:00
Lennart Poettering
69dd2852bb manager: when two pending jobs conflict, keep the one that "conflicts", remove the one that is "conflicted"
This gives the writer of units control which unit is kept and which is
stopped when two units conflict.
2010-08-09 22:32:30 +02:00
Lennart Poettering
0a9962a1df man: minor man page fix 2010-08-07 18:09:39 +02:00
Lennart Poettering
485ccf9a5b man: minor man page fix 2010-08-06 21:36:58 +02:00
Lennart Poettering
6908d3842a man: document %triggerin usage 2010-08-06 11:59:37 +02:00
Tomasz Torcz
cebf8b2092 socket: Allow selection of TCP Congestion Avoidance algorithm to socket
Hi,

attached path extends socket configurables with another
knob - TCP Congestion Avoidance selection. Linux implements
handful of those, useful in various situations. For example,
TCP Low Priority may be used by FTP service to gracefully
yield bandwidth for more important TCP/IP streams.

Until recently TCP_CONGESTION was Linux-specific, recently
FreeBSD 8 and OpenSolaris gained compatible support.
2010-08-03 23:23:47 +02:00
Lennart Poettering
ee5762e378 systemctl: fold systemd-install into systemctl 2010-07-24 00:53:33 +02:00
Lennart Poettering
85e5760d4f install: default to minimal realization mode 2010-07-23 05:24:24 +02:00
Lennart Poettering
ea4a240dc2 systemctl: accept -p more than once 2010-07-23 05:24:05 +02:00
Lennart Poettering
c24eb49e6a exec: extend variable substitution to support splitting variable values into seperate arguments 2010-07-21 02:57:35 +02:00
Lennart Poettering
8fe914ec81 device: do not merge devices
Don't try to merge devices that have been created via dependencies when
they appear in the system and can be recognized as the same.  Instead,
simply continue to maintain them independently of each other, however
with the same state cycle. Why? Because otherwise we'd have a hard time
to seperate the dependencies after the devices are unplugged again and
we hence cannot be sure anymore that next time the device is plugged in
it will carry the same names.

Example: if one depndency refers to dev-sda.device and another one to
dev-by-id-xxxyyy.device we only learn at time of plug in of the device
that it is actually the same device that was ment. In the moment the
device is unplugged again we won't know anymore their relation to each
other and the next time the harddisk is plugged it might even appear as
dev-by-id-xxxyyy.device and dev-sdb.service. To ensure the dependencies
continue to have the meaning they were intended to have let's hence keep
the .device objects seperate all the time, even when they are plugged
in.

This patch also introduces a new Following= property which points from
the various .device units of a specific device to the main .device unit
for it. This can be used by the client side to figure out the relation
of the .device units to each other and even filter units from display.
2010-07-20 20:33:24 +02:00
Lennart Poettering
5632e3743d systemctl: introduce reset-maintenance command 2010-07-19 04:08:07 +02:00
Lennart Poettering
b9975629f0 man: extend man pages a little 2010-07-18 02:11:38 +02:00
Lennart Poettering
246756ca92 install: optionally remove all symlinks from configuration tree recursively 2010-07-18 01:33:05 +02:00
Lennart Poettering
7461d1b76f man: various man page updates 2010-07-16 02:56:19 +02:00
Lennart Poettering
4445a87557 systemctl: add to command for virtualizing the dependency tree with graphviz 2010-07-16 02:56:00 +02:00
Lennart Poettering
6f28c033ec systemctl: introduce try-restart and reload-or-restart commands 2010-07-13 20:20:36 +02:00
Lennart Poettering
53b543608e install: implement systemd-install realize 2010-07-13 20:05:47 +02:00
Lennart Poettering
edb9aaa8b2 main: replace --running-as= by --session and --system do mimic related tools and D-Bus 2010-07-13 18:57:58 +02:00
Lennart Poettering
f057408c9c units: introduce emergency.target 2010-07-12 23:49:20 +02:00
Lennart Poettering
3b6fdb5b5a unit: introduce IgnoreDependencyFailure= 2010-07-12 03:07:02 +02:00
Lennart Poettering
b708e7cea9 execute: optionally ignore return status of invoked commands 2010-07-12 03:07:01 +02:00
Lennart Poettering
90d473a1c0 systemctl: turn --replace into --fail 2010-07-11 03:59:59 +02:00
Lennart Poettering
828f33e89b man: update daemon man page a little 2010-07-10 00:49:00 +02:00
Lennart Poettering
83bda35801 build-sys: drop special name hack for dbus.service since a native service file is now shipped upstream dbus 2010-07-10 00:22:38 +02:00
Lennart Poettering
085b94eec3 man: fix minor ambuigity 2010-07-08 21:48:09 +02:00
Ozan Çağlayan
dccb26007a man: Minor typographic fixes to systemd.xml
Fix some minor grammar and punctuation typos.
2010-07-08 21:46:36 +02:00
Ozan Çağlayan
58c16a1a3c man: Fix minor issues in systemd.unit.xml
Fix minor typographic, punctuation and grammar errors.
2010-07-08 21:45:22 +02:00
Lennart Poettering
b4f10a5e89 install: various improvements
Rename --start to --realize, to make things less confusing when doing
"systemctl stop --realize foo.service".

Introduce --realize=reload.

Don't talk to systemd when run within a chroot, or when systemd isn't
running.
2010-07-08 21:39:01 +02:00
Lennart Poettering
fa776d8e96 cgls: beef up control group dumping and introduce cgls tool 2010-07-08 21:01:42 +02:00
Lennart Poettering
420a0166a2 man: document variable substitution 2010-07-08 04:19:54 +02:00
Lennart Poettering
b3eaa62881 man: update man pages for recent syntax changes 2010-07-07 21:22:56 +02:00
Conrad Meyer
ad678a066b man: minor edits to daemon, sd_listen_fds, sd_notify, systemctl, systemd.exec, systemd, and systemd.timer pages
Just some minor grammar fixes.
2010-07-07 03:40:12 +02:00
Lennart Poettering
f3e219a238 update man pages for recent changes 2010-07-07 01:38:56 +02:00
Lennart Poettering
72f957066d man: document new systemd-install --start option 2010-07-06 05:25:24 +02:00
Lennart Poettering
59a3e1bc46 man: more blurbs 2010-07-06 03:46:31 +02:00
Lennart Poettering
99ffae46d3 man: add missing parts to man pages 2010-07-06 03:20:49 +02:00
Lennart Poettering
61cbdc4b30 systemctl: implement 'status' command 2010-07-05 02:40:39 +02:00
Lennart Poettering
7492290434 turn negative options into positive options 2010-07-05 01:08:13 +02:00
Lennart Poettering
03fae01822 uniformly suffix time span properties with their unit 2010-07-04 21:12:10 +02:00
Lennart Poettering
393a2f9be1 man: update systemctl man page 2010-07-04 20:46:12 +02:00
Lennart Poettering
62adf224d1 man: various man page updates 2010-07-03 19:54:00 +02:00
Lennart Poettering
dd1eb43ba7 man: document execution context related settings 2010-07-02 23:24:38 +02:00
Lennart Poettering
ba60f9054e man: extend references to exec man page 2010-07-02 19:51:28 +02:00
Lennart Poettering
0a715d9783 man: minor fix 2010-07-02 17:28:02 +02:00
Lennart Poettering
5f2ee303af man: refer to snapshot man page from unit man page 2010-07-02 17:23:19 +02:00