Commit Graph

56 Commits

Author SHA1 Message Date
Lennart Poettering 93ef5e80ae load-fragment: show a couple of more types in --dump-configuration-items 2010-04-23 20:27:47 +02:00
Lennart Poettering 24a6e4a401 load-fragment: allow timeout specifications such as '7min 5s' 2010-04-23 20:26:59 +02:00
Lennart Poettering 15ae422b74 execute: support basic filesystem namespacing 2010-04-21 22:15:06 +02:00
Lennart Poettering 701cc384c2 manager: automatically GC unreferenced units 2010-04-21 06:01:13 +02:00
Lennart Poettering 8d567588ca automount: implement automount unit type 2010-04-16 23:24:39 +02:00
Lennart Poettering 09477267f6 units: rename [Meta] section to [Unit] 2010-04-15 23:20:17 +02:00
Lennart Poettering 05e343b704 service: optionally, trie dbus name cycle to service cycle 2010-04-15 23:16:16 +02:00
Lennart Poettering 4f2d528d3b socket: optionally call accept() for incoming connections and spawn one service instance per connection 2010-04-15 06:20:00 +02:00
Lennart Poettering 9e2f7c11fb core: add minimal templating system 2010-04-15 03:11:15 +02:00
Lennart Poettering 0d87eb4279 load-fragment: simplify fragment loading code by using macros 2010-04-13 02:22:41 +02:00
Lennart Poettering 80876c20f6 rework tty handling
We now make sure to run all services in their own session, possibly with
a controlling terminal.

This also extends the service and socket state machines a little.
2010-04-13 02:06:27 +02:00
Lennart Poettering e537352b9b mount: implement mounting properly
This also includes code that writes utmp/wtmp records when applicable,
making use the mount infrastructure to detct when those files are
accessible.

Finally, this also introduces a --dump-configuration-items switch.
2010-04-10 18:00:34 +02:00
Lennart Poettering 108736d0d3 load-fragment: make socket timeout configurable 2010-04-10 18:00:34 +02:00
Lennart Poettering b778d55514 load-fragment: move NonBlocking option from generic to service options 2010-04-10 18:00:34 +02:00
Lennart Poettering 50159e6a77 execute: make kill mode configurable 2010-04-08 00:52:14 +02:00
Lennart Poettering ee2b489421 service: optionally, call setsid() on services 2010-04-07 23:23:58 +02:00
Lennart Poettering 23a177ef7c rework merging/loading logic 2010-04-06 02:43:58 +02:00
Lennart Poettering a9a1e00af1 sysv: allow configuration of SysV start priority from new-style service files, too 2010-04-06 02:40:10 +02:00
Lennart Poettering 8e27452380 cgroup: add cgroupsification 2010-03-31 16:29:55 +02:00
Lennart Poettering c9dae904f3 execute: when running in session mode, still enforce proper ordering of logger socket 2010-03-31 16:27:19 +02:00
Lennart Poettering 81a2b7ceda execute: implement privilige dropping properly 2010-02-14 22:43:08 +01:00
Lennart Poettering 890f434c60 load-fragment: prefer unit id over alias names when looking for fragments 2010-02-14 01:08:20 +01:00
Lennart Poettering f62c0e4f30 util: fix FOREACH_WORD macro definitions 2010-02-14 01:07:36 +01:00
Lennart Poettering a6a80b4f44 execute: simplify appending to execution list 2010-02-14 01:05:55 +01:00
Lennart Poettering 6be1e7d538 unit: rename load_path to fragment_path to make clear what kind of configuration file this is 2010-02-14 01:01:10 +01:00
Lennart Poettering 036643a247 config: implement search path logic 2010-02-13 01:07:02 +01:00
Lennart Poettering b5a0699f0b socket: allow configuration of socket/directory mode 2010-02-12 02:02:14 +01:00
Lennart Poettering 451a074fd5 execute: allow configuration of O_NONBLOCK flag from .service files 2010-02-12 02:00:18 +01:00
Lennart Poettering 47be870bd8 build: basic autoconfization 2010-02-03 14:21:48 +01:00
Lennart Poettering a7334b0952 license: add GPLv2+ license blurbs everwhere 2010-02-03 13:03:47 +01:00
Lennart Poettering 38b48754f7 execute: allow configuration of SCHED_RESET_ON_FORK 2010-02-02 12:50:04 +01:00
Lennart Poettering 94f043472a greatly extend what we enforce as process properties 2010-01-30 01:55:42 +01:00
Lennart Poettering f3bff0eb3b implement recursive_stop/stop_when_unneeded unit flags 2010-01-29 20:47:15 +01:00
Lennart Poettering 9eba9da4bc support chrooting/setting of ioprio when spawning 2010-01-29 20:46:22 +01:00
Lennart Poettering f50e0a0123 implement coldpluggin 2010-01-29 03:18:09 +01:00
Lennart Poettering b08d03ffe5 add mount enumerator 2010-01-29 02:07:41 +01:00
Lennart Poettering b19e7dc010 make use of unit_add_dependency_by_name() where applicable 2010-01-28 06:43:49 +01:00
Lennart Poettering fb33a393e2 set nice/oom_adjust only when asked for 2010-01-28 02:53:56 +01:00
Lennart Poettering d46de8a1a2 rework config file load logic 2010-01-28 02:44:47 +01:00
Lennart Poettering 071830ff32 implement proper logging for services 2010-01-28 02:06:20 +01:00
Lennart Poettering c25fb0edbb port fragment loader to new utility functions 2010-01-27 22:39:10 +01:00
Lennart Poettering acbb02252a yay, we can start socket units 2010-01-27 04:31:52 +01:00
Lennart Poettering 1c01f82bad fill commands into right fields for sockets 2010-01-27 02:16:11 +01:00
Lennart Poettering 0301abf48e implement drop-in directories 2010-01-27 00:15:56 +01:00
Lennart Poettering 87f0e418cf s/name/unit 2010-01-26 21:39:06 +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 034c6ed7da first attempt at proper service/socket logic 2010-01-26 04:18:44 +01:00
Lennart Poettering 542563babd rework socket handling 2010-01-23 03:35:54 +01:00
Lennart Poettering 5cb5a6ffc3 first attempt in implementinging execution logic 2010-01-23 01:52:57 +01:00