aboutsummaryrefslogtreecommitdiffstats
path: root/src/s6/s6-internal.h
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2025-06-11 18:01:29 +0000
committerLaurent Bercot <ska@appnovation.com>2025-06-11 18:01:29 +0000
commit7d717a323bbc1558ee7710b3598c681388748652 (patch)
tree2870a8d2ca5dc84f575bf90f789633548ea411b7 /src/s6/s6-internal.h
parent1ede5e54c796f37114004b2ded0071cb54a8e2a7 (diff)
downloads6-frontend-7d717a323bbc1558ee7710b3598c681388748652.tar.gz
More config dir options
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/s6/s6-internal.h')
-rw-r--r--src/s6/s6-internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/s6/s6-internal.h b/src/s6/s6-internal.h
index e269380..6616c87 100644
--- a/src/s6/s6-internal.h
+++ b/src/s6/s6-internal.h
@@ -54,12 +54,18 @@ struct global_s
{
unsigned int verbosity ;
char const *scandir ;
+ char const *livedir ;
+ char const *repodir ;
+ uint8_t istty : 1 ;
uint8_t color : 1 ;
} ;
#define GLOBAL_ZERO \
{ \
.verbosity = 1, \
- .scandir = "/run/service", \
+ .scandir = S6_FRONTEND_SCANDIR, \
+ .livedir = S6_FRONTEND_LIVEDIR, \
+ .repodir = S6_FRONTEND_REPODIR, \
+ .istty = 0, \
.color = 0 \
}