summaryrefslogtreecommitdiff
path: root/pathnames.h.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@sudo.ws>2020-03-29 05:05:08 -0600
committerTodd C. Miller <Todd.Miller@sudo.ws>2020-03-29 05:05:08 -0600
commitf05f342127fa0a709011f433cb26c6df9a0a46d9 (patch)
treec5a887f8a1db10e5b00b656942e8f46954cc1044 /pathnames.h.in
parent1ad49594b9bff9c6727a0f7584df0843027d06fa (diff)
downloadsudo-f05f342127fa0a709011f433cb26c6df9a0a46d9.tar.gz
Create a pidfile for sudo_logsrvd when not run with the -n flag.
Diffstat (limited to 'pathnames.h.in')
-rw-r--r--pathnames.h.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/pathnames.h.in b/pathnames.h.in
index 6d3703115..a39f9198d 100644
--- a/pathnames.h.in
+++ b/pathnames.h.in
@@ -90,6 +90,16 @@
*/
/*
+ * Where sudo_logsrvd stores its pid file files. Defaults to
+ * /var/run/sudo/sudo_logsrvd.pid, /var/db/sudo/sudo_logsrvd.pid,
+ * /var/lib/sudo/sudo_logsrvd.pid, /var/adm/sudo/sudo_logsrvd.pid or
+ * /usr/adm/sudo/sudo_logsrvd.pid depending on what exists on the system.
+ */
+#ifndef _PATH_SUDO_LOGSRVD_PID
+# undef _PATH_SUDO_LOGSRVD_PID
+#endif /* _PATH_SUDO_LOGSRVD_PID */
+
+/*
* Where to store the time stamp files. Defaults to /var/run/sudo/ts,
* /var/db/sudo/ts, /var/lib/sudo/ts, /var/adm/sudo/ts or /usr/adm/sudo/ts
* depending on what exists on the system.