summaryrefslogtreecommitdiff
path: root/src/nm-session-monitor-ck.c
Commit message (Collapse)AuthorAgeFilesLines
* all: consistently include config.hDan Winship2014-11-131-0/+1
| | | | | | | | | | | config.h should be included from every .c file, and it should be included before any other include. Fix that. (As a side effect of how I did this, this also changes us to consistently use "config.h" rather than <config.h>. To the extent that it matters [which is not much], quotes are more correct anyway, since we're talking about a file in our own build tree, not a system include.)
* core: Remove use of NM_SESSION_MONITOR_ERROR domainLubomir Rintel2014-10-221-24/+21
| | | | | | | | It no longer exists. Also, the special case of ENOENT handling in nm-session-monitor-ck is removed; it's not worth keeping it around just to print a log message when the error is ignored nayway.
* core: make NMSessionMonitor non-refcountedDan Winship2013-12-031-4/+2
| | | | and ensure that main() frees the singleton before exiting
* build: unify NetworkManager path handling (some paths are changed)Pavel Šimerda2012-11-051-2/+0
| | | | | | | | | | | | | | | | | | | Use autoconf/automake variables for NetworkManager paths. Use NetworkManager subdirectory where appropriate. Files in /var/run (or /run on some distros) are moved into a separate directory as is usual with other daemons. It makes the filesystem more readable and file prefixing unnecessary. /var/run/NetworkManager.pid -> /var/run/NetworkManager/NetworkManager.pid /var/run/nm-dns-dnsmasq.pid -> /var/run/NetworkManager/dnsmasq.pid /var/run/nm-dns-dnsmasq.conf -> /var/run/NetworkManager/dnsmasq.conf The /var/run/NetworkManager directory is created at runtime, if it doesn't exist. Note: Path-based security policies like SELinux and AppArmor may need to be adapted.
* build: easier selection of session trackingDan Williams2012-02-011-0/+509
Using --with-session-tracking=xxx you can select the backend you want from among CK, systemd, or none.