summaryrefslogtreecommitdiff
path: root/src/path-lookup.c
AgeCommit message (Collapse)Author
2010-09-27sysv: optionally disable of SysV init/rcN.d support at compile timeFabiano Fidencio
This patch adds a cpp definition HAVE_SYSV_COMPAT that is used to isolate code dealing with /etc/init.d and /etc/rcN.d for systems where it does not make sense (one that does not use sysv or one that is fully systemd native). The patch tries to be as little intrusive as possible, however in order to minimize the number of #ifdef'ed regions I've reordered some code in path-lookup.c:lookup_paths_init() where all code dealing with sysv is now isolated under running_as == MANAGER_SYSTEM as well. Moreover, In struct Service, some fields were rearranged to reduce the number of ifdefs. Lennart's suggestions were fixed and squashed with the original patch, that was sent by Gustavo Sverzut Barbieri (barbieri@profusion.mobi).
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-07-01systemd: include /etc/systemd/system/ and /lib/systemd/system/ in search ↵Lennart Poettering
path unconditionally
2010-06-24path-lookup: unconditionally check /usr and /usr/share unit directoriesLennart Poettering
2010-06-19manager: get rid of destinction between running_as=system and ↵Lennart Poettering
running_as=init, as there is little value in it and we cannot really test this
2010-06-17gcc: disable warn_unused_result attribute warningsLennart Poettering
2010-06-16install: add systemd-install tool for managing alias/wants symlinksLennart Poettering
2010-06-15manager: split off path lookup logic into own .c fileLennart Poettering