Commit graph

58 commits

Author SHA1 Message Date
Lennart Poettering 5830833f7c service: allow input from terminal when executing more than one start-pre or stop-post command 2010-07-12 21:56:51 +02:00
Lennart Poettering f6023656e1 service: trim cgroups if services that are "active" but "exited" 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 7740296dcf service: fix minor memory leak 2010-07-11 00:52:28 +02:00
Lennart Poettering 3f6c78dceb service: allow immediate stopping while starting 2010-07-10 04:52:00 +02:00
Lennart Poettering 2e22afe909 execute: add ability to configure the kill signal 2010-07-10 04:49:37 +02:00
Lennart Poettering f8820b628c service: don't enable native services via legacy sysv symlinks anymore 2010-07-08 05:29:46 +02:00
Lennart Poettering 1e3ad081ef execute: if the main process of a service already owns the TTY, don't wait for acquiring it again in the reload/stop step 2010-07-08 04:09:17 +02:00
Lennart Poettering 398ef8ba02 dbus: make errors reported via D-Bus more useful 2010-07-08 02:43:18 +02:00
Lennart Poettering 2105e76a77 service: set env var for stop/reload commands 2010-07-08 00:47:35 +02:00
Lennart Poettering f60f22dfbb util: use quoted word parsing where applicable 2010-07-07 20:58:41 +02:00
Lennart Poettering 54165a3939 log: bump up a number of log messages so that they are shown even if debug logging is disabled, for diagnostic purposes 2010-07-07 17:57:54 +02:00
Lennart Poettering af2ab1f9a3 service: fix parsing word size functions 2010-07-07 17:42:06 +02:00
Lennart Poettering 8f75a603ec util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word size 2010-07-07 17:40:25 +02:00
Lennart Poettering acb591e452 execute: change stdout inherit logic, when run as PID 1 use /dev/null 2010-07-07 04:37:42 +02:00
Lennart Poettering ecdbca40bd service: serialize exec status 2010-07-07 04:13:20 +02:00
Lennart Poettering ed4c1cc672 unit: when reading description from LSB prefer short over long description 2010-07-07 02:21:42 +02:00
Lennart Poettering 9e58ff9c5c manager: optionally print status updates to console on boot 2010-07-07 00:00:59 +02:00
Lennart Poettering b58b41160f dbus: complete exec status coverage 2010-07-04 18:49:58 +02:00
Lennart Poettering a40eb73224 unit: add DefaultDependencies= setting
In order to simplify writing of unit files introduce default
dependencies that are added to all units unless explictly disabled in a
unit. This option can be switched off for select units that are involved
in early boot-up ot late system shutdown,

This should simplify service files for most normal daemons, but breaks
existing service files for software involved in early boot (notably
udev), which need to be updated for a DefaultDependencies=no setting)
2010-07-03 19:48:33 +02:00
Lennart Poettering 2c966c038d unit: simplify things a little by introducing API to add two dependencies in one step 2010-07-03 19:46:38 +02:00
Lennart Poettering 0d624a785a man: finish service man page 2010-07-01 19:39:35 +02:00
Lennart Poettering 032ff4afc9 unit: shorten active state enums to make systemctl output nicer 2010-07-01 03:34:15 +02:00
Lennart Poettering 6124958c7b unit: add new abstracted maintenance state for units 2010-07-01 00:31:53 +02:00
Lennart Poettering 4eab639f92 service: rework logic when we consider a service running 2010-06-22 04:09:50 +02:00
Lennart Poettering 4d0e5dbd52 service: require KillMode=control-group when PAM is enabled 2010-06-19 16:57:54 +02:00
Lennart Poettering 4cd1fbcc06 unit: get rid of various unnecessary casts 2010-06-19 16:55:49 +02:00
Lennart Poettering bb00e60409 don't use 'long long' unless we have a really good reason to 2010-06-19 04:35:52 +02:00
Lennart Poettering 6cf6bbc268 socket: enforce limit on number of concurrent connections 2010-06-19 04:25:34 +02:00
Lennart Poettering f9704703f3 service: honour empty cgroup even in ValidNoProcess mode 2010-06-19 01:06:09 +02:00
Lennart Poettering c952c6ece2 service: add minimal access control logic for notifcation socket 2010-06-18 23:12:48 +02:00
Lennart Poettering e55224ca65 service: when we supervise a process, ensure it is our child 2010-06-18 22:05:29 +02:00
Lennart Poettering 514f4ef52f systemctl: add verbs for special units 2010-06-18 04:22:59 +02:00
Lennart Poettering 5925dd3c7a service: rework PID parsing logic everywhere 2010-06-17 22:55:53 +02:00
Lennart Poettering 18c78fb1af typo: the correct spelling is maintenance not maintainance 2010-06-16 14:01:55 +02:00
Lennart Poettering 8c47c7325f notify: add minimal readiness/status protocol for spawned daemons 2010-06-16 05:10:31 +02:00
Lennart Poettering 406eaf930b service: never supervise ourselves 2010-06-15 19:47:13 +02:00
Lennart Poettering 84e3543ef4 manager: split off path lookup logic into own .c file 2010-06-15 14:45:15 +02:00
Lennart Poettering 7020e8be3f reword a few log messages 2010-06-11 11:39:59 +02:00
Lennart Poettering fc5df99e24 service: honour suse style Kxx links in boot.d/ directory 2010-06-07 02:42:01 +02:00
Lennart Poettering c4653a4dfe service: handle properly if a dbus process terminates before acquiring the dbus name 2010-06-04 21:23:00 +02:00
Lennart Poettering f92a18f527 units: introduce and explain sysinit.target 2010-06-04 18:43:40 +02:00
Lennart Poettering 1f48cf56cb service: change default service type to 'simple' since that is the future 2010-06-02 19:17:23 +02:00
Lennart Poettering 723c83fd05 service: interpret Debian-style X-Interactive LSB header field 2010-05-24 22:32:49 +02:00
Lennart Poettering 1e287fe32f unit: turn display-manager.target into a service 2010-05-24 22:29:59 +02:00
Lennart Poettering 6464aa0890 service: add extended debian facilities 2010-05-24 19:56:25 +02:00
Lennart Poettering c2b35af64c service: be case insensitive when parsing LSB headers, because some Debian services use lower case fields 2010-05-24 19:23:11 +02:00
Lennart Poettering 0c565ed702 service: interpret suse/debian style X-Start-Before/X-Start-After 2010-05-24 19:00:13 +02:00
Lennart Poettering 01f78473b1 path: add .path unit type for monitoring files 2010-05-24 05:25:33 +02:00
Lennart Poettering 8e47d742a8 service: when start is repeated too often, consider that failure 2010-05-20 20:45:20 +02:00