summaryrefslogtreecommitdiff
path: root/src/service.c
AgeCommit message (Collapse)Author
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
2010-07-07execute: change stdout inherit logic, when run as PID 1 use /dev/nullLennart Poettering
2010-07-07service: serialize exec statusLennart Poettering
2010-07-07unit: when reading description from LSB prefer short over long descriptionLennart Poettering
2010-07-07manager: optionally print status updates to console on bootLennart Poettering
2010-07-04dbus: complete exec status coverageLennart Poettering
2010-07-03unit: add DefaultDependencies= settingLennart Poettering
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-03unit: simplify things a little by introducing API to add two dependencies in ↵Lennart Poettering
one step
2010-07-01man: finish service man pageLennart Poettering
2010-07-01unit: shorten active state enums to make systemctl output nicerLennart Poettering
2010-07-01unit: add new abstracted maintenance state for unitsLennart Poettering
2010-06-22service: rework logic when we consider a service runningLennart Poettering
2010-06-19service: require KillMode=control-group when PAM is enabledLennart Poettering
2010-06-19unit: get rid of various unnecessary castsLennart Poettering
2010-06-19don't use 'long long' unless we have a really good reason toLennart Poettering
2010-06-19socket: enforce limit on number of concurrent connectionsLennart Poettering
2010-06-19service: honour empty cgroup even in ValidNoProcess modeLennart Poettering
2010-06-18service: add minimal access control logic for notifcation socketLennart Poettering
2010-06-18service: when we supervise a process, ensure it is our childLennart Poettering
2010-06-18systemctl: add verbs for special unitsLennart Poettering