Commit Graph

22 Commits

Author SHA1 Message Date
Lennart Poettering
dd6c17b159 exec: replace OOMAdjust= by OOMScoreAdjust= to follow new kernel interface
This replaces OOMAdjust= by OOMScoreAdjust= in the config files,
breaking compatibility with older unit files. However, this keeps compat
with older kernels which lack the new OOM rework.
2010-08-31 01:33:43 +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
8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering
c85cf06d73 test1: add service for testing priv dropping 2010-02-14 22:46:47 +01:00
Lennart Poettering
d455ad414c test1: drop invalid capability settings 2010-02-14 22:46:02 +01:00
Lennart Poettering
c0dafa4853 manager: properly return newly created job in transaction_add_job_and_dependencies() 2010-02-12 02:21:08 +01:00
Lennart Poettering
b5a0699f0b socket: allow configuration of socket/directory mode 2010-02-12 02:02:14 +01:00
Lennart Poettering
80c5385a83 synchronize logger socket with what we use in the code 2010-02-01 12:45:03 +01:00
Lennart Poettering
94f043472a greatly extend what we enforce as process properties 2010-01-30 01:55:42 +01:00
Lennart Poettering
1c24e7bd12 Use @ instead = as abstract namespace socket prefix
@ makes more sense since the NUL addr contained in the sockaddr's
sun_path field can also be written as ^@.

Also, in the .socket files writing "ListenStream==foo" is kinda ugly.

Finally, tools like strace decode it with an @ too.
2010-01-28 04:50:28 +01:00
Lennart Poettering
35355baba1 the systemd logger only matters in the abstract namespace 2010-01-28 02:54:35 +01:00
Lennart Poettering
071830ff32 implement proper logging for services 2010-01-28 02:06:20 +01:00
Lennart Poettering
b52429d4e0 implement trivial socket activated logger daemon 2010-01-27 22:43:50 +01:00
Lennart Poettering
836698b90b extend examples a bit 2010-01-27 06:21:25 +01:00
Lennart Poettering
acbb02252a yay, we can start socket units 2010-01-27 04:31:52 +01:00
Lennart Poettering
af5ec59328 add some test script output 2010-01-27 02:16:41 +01:00
Lennart Poettering
0301abf48e implement drop-in directories 2010-01-27 00:15:56 +01:00
Lennart Poettering
c22cbe2672 rename milestone to target 2010-01-26 19:06:50 +01:00
Lennart Poettering
44d8db9e5a various cleanups 2010-01-26 07:02:51 +01:00
Lennart Poettering
83c60c9f0c implement proper binding on ports 2010-01-23 22:56:47 +01:00
Lennart Poettering
542563babd rework socket handling 2010-01-23 03:35:54 +01:00
Lennart Poettering
986b9910d3 move test files to test1/ 2010-01-20 04:06:35 +01:00