summaryrefslogtreecommitdiff
path: root/src/service.c
AgeCommit message (Collapse)Author
2010-09-21service: start Arch daemonsTom Gundersen
Arch does not use proper SysV runlevels. Instead /etc/rc.conf contains an array of daemons to load in a multi-user runlevel, and some dependencies between them. This patch enables this behaviour in SystemD (only when compiled with Arch support), which allows SystemD to be a drop in replacement on Arch (modulo some minor bugs). v2: simplified after suggestion from Lennart
2010-09-14service: fix check for non-LSB filesLennart Poettering
2010-09-13service: add generic LSB provides handling for facilitiesLennart Poettering
2010-09-13service: translate 'httpd' LSB Provides into '$httpd' on FedoraLennart Poettering
2010-09-11service: don't automatically add D-Bus service name as an alias to all dbus ↵Lennart Poettering
service, rely on manual symlinks to allow disabling of dbus services
2010-09-03service: calculate sysv startup priority only in start runlevelsLennart Poettering
2010-09-03service: make sure we properly figure out whether a sysv service is enabled ↵Lennart Poettering
before creating $foo wants links
2010-09-03service: properly handle if the main process is down and we wait for the ↵Lennart Poettering
cgroup to die, too
2010-09-01service: recheck PID status when a cgroup runs emptyLennart Poettering
2010-09-01service: wait for process exit only if we actually killed somebodyLennart Poettering
2010-08-31service: properly pass dbus error structureMichal Schmidt
2010-08-31service: rework killing logic so that we always kill the main process, even ↵Lennart Poettering
if it left our service cgroup Related to: http://bugzilla.redhat.com/show_bug.cgi?id=626477
2010-08-31manager: add missing second part of s/maintenance/failed/Matthew Miller
2010-08-26service: properly handle Fedora's broken MTA meta-service nameLennart Poettering
2010-08-26service: reword warnings a littleLennart Poettering
2010-08-26service: if we cannot add an alias to a sysv service, ignore this and go onLennart Poettering
2010-08-20dbus: follow standardized fdo PropertiesChanged signal specLennart Poettering
2010-08-20service/systemctl: don't consider LSB exit codes 5 and 6 as failure, and ↵Lennart Poettering
decode exit codes in systemctl
2010-08-20service: make sure sysv services marked as interactive in the LSB header get ↵Lennart Poettering
output on the TTY in all cases
2010-08-17service: rename ValidNoProcess= to RemainAfterExit=Lennart Poettering
2010-08-17service: prefix descriptions when they come from legacy sourcesLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-13service: rename Type=finish to Type=oneshot and allow multiple ExecStart= ↵Lennart Poettering
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-11clang: fix numerous little issues found with clang-analyzerLennart Poettering
2010-08-09main: fix auto restarting of units after a configuration reloadLennart Poettering
2010-08-09manager: when two pending jobs conflict, keep the one that "conflicts", ↵Lennart Poettering
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-09service: hide output of sysv scripts if quiet is passed on the kernel cmdlineLennart Poettering
2010-08-09service: properly remember if a sysv is actually enabledLennart Poettering
Previously we checked the SysV priority value to figure out if a SysV unit was enabled or not, since th value was mostly read from the S startup links. Since we read this value from the LSB headers as a fallback we hence ended up considering a lot more services enabled than were actually enabled. This patch adds an explicit boolean which encodes whether a sysv service is enabled or not via S links. https://bugzilla.redhat.com/show_bug.cgi?id=615293
2010-08-09service: show restart value in dumpLennart Poettering
2010-08-05service: read special startup dirs only on the respective distrosLennart Poettering
2010-08-05service: always sort services from suse B runlevel before services from ↵Lennart Poettering
normal runlevels
2010-07-21service: save/restore status text stringLennart Poettering
2010-07-20sysv: do not add sysv services that are not enabled in /etc/rcN.d/ to ↵Lennart Poettering
network.target or other LSB-style Provides: targets
2010-07-19systemctl: introduce reset-maintenance commandLennart Poettering
2010-07-17execute: bump up log level of executed processes that failedLennart Poettering
2010-07-16service: refuse to start services that are configured for per-connection ↵Lennart Poettering
instantiation to start without a socket
2010-07-12service: allow input from terminal when executing more than one start-pre or ↵Lennart Poettering
stop-post command
2010-07-12service: trim cgroups if services that are "active" but "exited"Lennart Poettering
2010-07-12execute: optionally ignore return status of invoked commandsLennart Poettering
2010-07-11service: fix minor memory leakLennart Poettering
2010-07-10service: allow immediate stopping while startingLennart Poettering
2010-07-10execute: add ability to configure the kill signalLennart Poettering
2010-07-08service: don't enable native services via legacy sysv symlinks anymoreLennart Poettering
2010-07-08execute: if the main process of a service already owns the TTY, don't wait ↵Lennart Poettering
for acquiring it again in the reload/stop step
2010-07-08dbus: make errors reported via D-Bus more usefulLennart Poettering
2010-07-08service: set env var for stop/reload commandsLennart Poettering
2010-07-07util: use quoted word parsing where applicableLennart Poettering
2010-07-07log: bump up a number of log messages so that they are shown even if debug ↵Lennart Poettering
logging is disabled, for diagnostic purposes
2010-07-07service: fix parsing word size functionsLennart Poettering
2010-07-07util: implement safe_atolu based on safe_atolli/safe_atoi, depending on word ↵Lennart Poettering
size