Do not use .Xo/.Xc to work around ancient roff limits.
[netbsd-mini2440.git] / libexec / cron / pathnames.h
blob95d3921e9b90750d47d2c66193f99573f236ef04
1 /*
2 * $Id: pathnames.h,v 1.1 1994/01/05 20:40:15 jtc Exp $
3 */
5 #if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX)
6 # include <paths.h>
7 #endif /*BSD*/
9 #ifndef CRONDIR
10 /* CRONDIR is where crond(8) and crontab(1) both chdir
11 * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE
12 * are all relative to this directory.
14 #define CRONDIR "/var/cron"
15 #endif
17 /* SPOOLDIR is where the crontabs live.
18 * This directory will have its modtime updated
19 * whenever crontab(1) changes a crontab; this is
20 * the signal for crond(8) to look at each individual
21 * crontab file and reload those whose modtimes are
22 * newer than they were last time around (or which
23 * didn't exist last time around...)
25 #define SPOOL_DIR "tabs"
27 /* undefining these turns off their features. note
28 * that ALLOW_FILE and DENY_FILE must both be defined
29 * in order to enable the allow/deny code. If neither
30 * LOG_FILE or SYSLOG is defined, we don't log. If
31 * both are defined, we log both ways.
33 #define ALLOW_FILE "allow" /*-*/
34 #define DENY_FILE "deny" /*-*/
35 #define LOG_FILE "log" /*-*/
37 /* where should the daemon stick its PID?
39 #ifdef _PATH_VARRUN
40 # define PIDDIR _PATH_VARRUN
41 #else
42 # define PIDDIR "/etc/"
43 #endif
44 #define PIDFILE "%scron.pid"
46 /* 4.3BSD-style crontab */
47 #define SYSCRONTAB "/etc/crontab"
49 /* what editor to use if no EDITOR or VISUAL
50 * environment variable specified.
52 #if defined(_PATH_VI)
53 # define EDITOR _PATH_VI
54 #else
55 # define EDITOR "/usr/ucb/vi"
56 #endif
58 #ifndef _PATH_BSHELL
59 # define _PATH_BSHELL "/bin/sh"
60 #endif
62 #ifndef _PATH_DEFPATH
63 # define _PATH_DEFPATH "/usr/bin:/bin"
64 #endif