New sentence, new line.
[netbsd-mini2440.git] / usr.sbin / cron / pathnames.h
blob61a55b923afee48d53d9a7c002af7eb407429783
1 /* $NetBSD: pathnames.h,v 1.4 1998/01/31 14:40:40 christos Exp $ */
3 /* Copyright 1993,1994 by Paul Vixie
4 * All rights reserved
6 * Distribute freely, except: don't remove my name from the source or
7 * documentation (don't take credit for my work), mark your changes (don't
8 * get me blamed for your possible bugs), don't alter or remove this
9 * notice. May be sold if buildable source is provided to buyer. No
10 * warrantee of any kind, express or implied, is included with this
11 * software; use at your own risk, responsibility for damages (if any) to
12 * anyone resulting from the use of this software rests entirely with the
13 * user.
15 * Send bug reports, bug fixes, enhancements, requests, flames, etc., and
16 * I'll try to keep a version up to date. I can be reached as follows:
17 * Paul Vixie <paul@vix.com> uunet!decwrl!vixie!paul
21 * Id: pathnames.h,v 1.3 1994/01/15 20:43:43 vixie Exp
24 #if (defined(BSD)) && (BSD >= 199103) || defined(__linux) || defined(AIX)
25 # include <paths.h>
26 #endif /*BSD*/
28 #ifndef CRONDIR
29 /* CRONDIR is where crond(8) and crontab(1) both chdir
30 * to; SPOOL_DIR, ALLOW_FILE, DENY_FILE, and LOG_FILE
31 * are all relative to this directory.
33 #define CRONDIR "/var/cron"
34 #endif
36 /* SPOOLDIR is where the crontabs live.
37 * This directory will have its modtime updated
38 * whenever crontab(1) changes a crontab; this is
39 * the signal for crond(8) to look at each individual
40 * crontab file and reload those whose modtimes are
41 * newer than they were last time around (or which
42 * didn't exist last time around...)
44 #define SPOOL_DIR "tabs"
46 /* File containing maximum crontab size, in bytes. */
47 #define MAXTABSIZE_FILE "maxtabsize"
49 /* undefining these turns off their features. note
50 * that ALLOW_FILE and DENY_FILE must both be defined
51 * in order to enable the allow/deny code. If neither
52 * LOG_FILE or SYSLOG is defined, we don't log. If
53 * both are defined, we log both ways.
55 #define ALLOW_FILE "allow" /*-*/
56 #define DENY_FILE "deny" /*-*/
57 /* #define LOG_FILE "log" */
59 /* where should the daemon stick its PID?
61 #ifdef _PATH_VARRUN
62 # define PIDDIR _PATH_VARRUN
63 #else
64 # define PIDDIR "/etc/"
65 #endif
66 #define PIDFILE "%scron.pid"
68 /* 4.3BSD-style crontab */
69 #define SYSCRONTAB "/etc/crontab"
71 /* what editor to use if no EDITOR or VISUAL
72 * environment variable specified.
74 #if defined(_PATH_VI)
75 # define EDITOR _PATH_VI
76 #else
77 # define EDITOR "/usr/ucb/vi"
78 #endif
80 #ifndef _PATH_BSHELL
81 # define _PATH_BSHELL "/bin/sh"
82 #endif
84 #ifndef _PATH_DEFPATH
85 # define _PATH_DEFPATH "/usr/bin:/bin"
86 #endif