~vorlon/ubuntu/raring/upstart/lp.1199778

« back to all changes in this revision

Viewing changes to init/paths.h

  • Committer: Stéphane Graber
  • Date: 2013-03-07 18:43:01 UTC
  • mfrom: (1182.56.54 upstart)
  • Revision ID: stgraber@ubuntu.com-20130307184301-dlmb1c5bwonqagkw
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
#define CONFDIR_ENV "UPSTART_CONFDIR"
97
97
#endif
98
98
 
 
99
/**
 
100
 * INIT_XDG_SUBDIR:
 
101
 *
 
102
 * This is the name of the sub folder we will use when constructing
 
103
 * config source dirs with XDG compliant folders.
 
104
 **/
 
105
#ifndef INIT_XDG_SUBDIR
 
106
#define INIT_XDG_SUBDIR "upstart"
 
107
#endif
 
108
 
 
109
/**
 
110
 * SYSTEM_USERCONFDIR:
 
111
 *
 
112
 * This is the path to system-wide user session jobs.
 
113
 **/
 
114
#ifndef SYSTEM_USERCONFDIR
 
115
#define SYSTEM_USERCONFDIR "/usr/share/upstart/sessions"
 
116
#endif
 
117
 
 
118
/**
 
119
 * INIT_XDG_SESSION_SUBDIR:
 
120
 *
 
121
 * Directory below XDG_RUNTIME_DIR/INIT_XDG_SUBDIR used to
 
122
 * store session details.
 
123
 **/
 
124
#ifndef INIT_XDG_SESSION_SUBDIR
 
125
#define INIT_XDG_SESSION_SUBDIR "sessions"
 
126
#endif
99
127
 
100
128
/**
101
129
 * SHELL:
148
176
#define LOGDIR_ENV "UPSTART_LOGDIR" 
149
177
#endif
150
178
 
 
179
/**
 
180
 * SESSION_ENV:
 
181
 *
 
182
 * Environment variable that is set when running as a Session Init.
 
183
 **/
 
184
#ifndef SESSION_ENV
 
185
#define SESSION_ENV "UPSTART_SESSION"
 
186
#endif
151
187
 
152
188
/**
 
189
 * CONF_EXT_STD:
 
190
 *
153
191
 * File extension for standard configuration files.
154
192
 **/
155
193
#define CONF_EXT_STD ".conf"
156
194
 
157
195
/**
 
196
 * CONF_EXT_OVERRIDE:
 
197
 *
158
198
 * File extension for override files.
159
199
 *
160
200
 * Note that override files are not stored in the ConfSource 'files' hash:
164
204
#define CONF_EXT_OVERRIDE ".override"
165
205
 
166
206
/**
 
207
 * SESSION_EXT:
 
208
 *
 
209
 * File extension for session files.
 
210
 **/
 
211
#ifndef SESSION_EXT
 
212
#define SESSION_EXT ".session"
 
213
#endif
 
214
 
 
215
/**
167
216
 * Determine if specified path extension representes a standard
168
217
 * configuration file.
169
218
 *