summaryrefslogtreecommitdiff
path: root/src/service.c
AgeCommit message (Collapse)Author
2011-07-06manager: merge serialization and desrialization counter into one, and ↵Lennart Poettering
increase it when reexecuting Instead of having individual counters n_serializing and n_deserializing have a single one n_reloading, which should be sufficient. Set n_reloading when we are about to go down for reexecution to avoid cgroup trimming when we free the units for reexecution.
2011-07-05service: 'pidfile:' in SysV chkconfig header implies a real daemonMichal Schmidt
The presence of the chkconfig "pidfile:" header in the initscript is an excellent indication that it's not a oneshot script (like iptables), but a real daemon (like httpd).
2011-07-01manager: don't even think of enumerating sysv services in user instancesLennart Poettering
2011-06-21service: check whether sysv scripts where changedLennart Poettering
2011-06-21dbus: introduce UnsetAndSetEnvironment()Lennart Poettering
2011-06-21english: s/_per_/_by_/Lennart Poettering
2011-05-18exec: hangup/reset/deallocate VTs in gettysLennart Poettering
Explicitly disconnect all clients from a VT when a getty starts/finishes (requires TIOCVHANGUP, available in 2.6.29). Explicitly deallocate getty VTs in order to flush scrollback buffer. Explicitly reset terminals to a defined state before spawning getty.
2011-05-09build-sys: Angstrom supportKoen Kooi
This commit consists of the initial work to include Angstrom as a ported distribution for systemd. Angstrom tries to follow the debian way as much as possible, but deviates where it doesn't make sense for 'embedded'.
2011-04-28service: properly notice when services with a main process that isn't a ↵Lennart Poettering
child of init die https://bugzilla.redhat.com/show_bug.cgi?id=699114
2011-04-20cgroup: don't accidentaly trim on reloadLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=678555
2011-04-06units: rename rtc-set.target to time-sync.target and pull it in by ↵Lennart Poettering
hwclock-load.service On request of Miroslav Lichvar, rename rtc-set.target to time-sync.target since usually the RTC chip isn't involved at all in NTP syncs. Also, pull it in by hwclock-load.service.
2011-04-06service: fix units with more than one socketLennart Poettering
https://bugzilla.redhat.com/show_bug.cgi?id=693289
2011-03-31src: our lord is coverityLennart Poettering
2011-03-30unit: never apply /etc/rcN.d/ priority to native servicesLennart Poettering
2011-03-29exec: drop process group kill mode since it has little use and confuses the userLennart Poettering
2011-03-18service: pull in sysv facility targets from the sysv units, not the other ↵Lennart Poettering
way round For an explanation see: http://lists.freedesktop.org/archives/systemd-devel/2011-March/001692.html
2011-03-18special: get rid of dbus.targetLennart Poettering
2011-03-17def: centralize definition of default timeout in one placeLennart Poettering
2011-03-14core: move abstract namespace sockets to /dev/.runLennart Poettering
Now that we have /dev/.run there's no need to use abstract namespace sockets. So, let's move things to /dev/.run, to make things more easily discoverable and improve compat with chroot() and fs namespacing.
2011-03-08build-sys: add Mandriva distribution supportsystemd/v20Andrey Borzenkov
This merges several separate patches that I carry as part of Mandriva systemd RPM. They touch those parts that are very unlikely to be changed in near future and do not impose any functionality change for systemd core. I also think it is useful for troubleshooting to have real distribution name in system logs, espicially when someone reports problem upstream. The patch looks bigger than sum of replaced patches because - previous patches were applied on top of distro=fedora, now I need to add all those bits for distro=mandriva as well - part of patch was done as spec file magic, but it seems more logical to ship all these bits together
2011-03-08service: use uppercase SYSV prefix to make it easier to recognizeLennart Poettering
2011-03-08service: prefix description with LSB only if script has LSB header, use ↵Lennart Poettering
'SysV:' otherwise
2011-03-06service: drop redundant check in sysv_translate_facilityLennart Poettering
We check for _r with an assert in the function header anyway, no need to check it again.
2011-03-03kill: always send SIGCONT after SIGTERMLennart Poettering
When we kill a process to terminate it make sure to send SIGCONT to ensure it is unpaused and processes the signal.
2011-02-28Spelling CorrectionsHarald Hoyer
Just some lame spelling corrections with no functionality.
2011-02-25service: never clean up a service that still has a process in itLennart Poettering
2011-02-15exec: introduce global defaults for the standard output of servicesLennart Poettering
2011-02-13service: make main pid guessing optional, and reread pid file after reloadsLennart Poettering
2011-01-20service: make chain of main commands and control commands independent of ↵Lennart Poettering
each other, so that both can be executed simultaneously and independently
2011-01-20service: don't allow reload operations for oneshot servicesLennart Poettering
During starting of oneshot we are in START state which we don't want to combine with the RELOAD state, hence we disallow both at the same time.
2011-01-20systemctl: highlight failed processes in systemctl statusLennart Poettering
2011-01-20service: when reloading a service fails don't fail the entire service but ↵Lennart Poettering
just the reload job
2011-01-18service: if a reload operation fails, don't shut down the serviceLennart Poettering
2011-01-18execute: make sending of SIGKILL on shutdown optionalLennart Poettering
2011-01-17arch: remove support for legacy daemonsTom Gundersen
This is now done by a generator, shipped downstream.
2011-01-07service: don't hit an assert if information in LSB headers is incorrectly ↵Lennart Poettering
formatted https://bugzilla.redhat.com/show_bug.cgi?id=667665
2010-12-27service: ifdef (more) distro-specific compat logicMichael Biebl
This should make it easier to get rid of that compat code later and avoids problems like stripping of rc. from /etc/init.d/rc.local on Debian.
2010-12-16service: ifdef distro-specific compat logicKay Sievers
2010-12-16service: drop rc. prefix on frugalware linuxMiklos Vajna
2010-12-09suse: add 'smtp' LSB facilityKay Sievers
2010-11-29build-sys: frugalware linux supportMiklos Vajna
2010-11-17cgroup: by default, duplicate service cgroup in the cpu hierarchyLennart Poettering
2010-11-15exec: automatically determine right TERM= setting based on tty nameLennart Poettering
2010-11-15drop support for MANAGER_SESSION, introduce MANAGER_USER insteadLennart Poettering
2010-11-10service: delay automatic restart if job is pendingLennart Poettering
2010-10-29unit: get rid of gnoreDependencyFailure= instead treat ConflictedBy= as ↵Lennart Poettering
weaker counterpart of Conflicts=, similar to Wants= vs. Requires=
2010-10-28service: unify tstamp serialization codeLennart Poettering
2010-10-27service: when after startup only one process is in a service's cgroup, ↵Lennart Poettering
assume it is the main process
2010-10-26service: fix sysv-less buildMike Kazantsev
2010-10-26service: make sure to pass TERM=linux to all sysv scriptsLennart Poettering