-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathconfig.h
More file actions
45 lines (39 loc) · 1.05 KB
/
Copy pathconfig.h
File metadata and controls
45 lines (39 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
* config.h
*/
/* templates */
#define REMOTE_STAGE_DIR "/tmp/rset_%08" PRIx32
#define LOCAL_CONTROL_SOCKET "/tmp/rset_control_%s"
#define LOG_TIMESTAMP_FORMAT "%F %T%z"
#define WORKER_TIMESTAMP_FORMAT "%F_%H%M%S"
/* defaults */
#define INSTALL_PORT 6000
#define ROUTES_FILE "routes.pln"
#define REPLICATED_DIRECTORY "_rutils"
#define ARCHIVE_DIRECTORY "_archive"
#define PUBLIC_DIRECTORY "_sources"
#define DEFAULT_LABEL_PATTERN "^[0-9a-z]"
/* option defaults */
#define EXECUTE_WITH ""
#define INTERPRETER "/bin/sh"
#define LOCAL_INTERPRETER "/bin/sh"
#define ENVIRONMENT ""
#define ENVIRONMENT_FILE "/dev/null"
/* limits */
#define MAX_WORKERS 20
#define MAX_LABELS 100
/* colors */
#define HL_REVERSE "\x1b[7m"
#define HL_RESET "\x1b[0m"
#define HL_HOST "\x1b[33m" /* yellow */
#define HL_LABEL "\x1b[36m" /* cyan */
#define HL_ERROR "\x1b[31m" /* red */
#define HL_TRACE "\x1b[7m" /* inverted */
/* options */
#if defined(__darwin__)
#define TAR_OPTIONS "--no-xattrs"
#elif defined(__OpenBSD__)
#define TAR_OPTIONS "-F ustar"
#else
#define TAR_OPTIONS ""
#endif