summaryrefslogtreecommitdiff
path: root/src/libs6rc
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2018-06-15 13:26:11 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2018-06-15 13:26:11 +0000
commit1626bf78dd47a42ce37e984025a434a666fc5bbf (patch)
treec5462f133430c40dc859849e4a923823d2dc4466 /src/libs6rc
parente7266992f7630343256b6adf92330f4734e1834d (diff)
downloads6-rc-1626bf78dd47a42ce37e984025a434a666fc5bbf.tar.xz
Add support for max-death-tally and down-signal, prepare for 0.4.1.0
Diffstat (limited to 'src/libs6rc')
-rw-r--r--src/libs6rc/s6rc_servicedir_internal.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/libs6rc/s6rc_servicedir_internal.c b/src/libs6rc/s6rc_servicedir_internal.c
index 1162093..b70061f 100644
--- a/src/libs6rc/s6rc_servicedir_internal.c
+++ b/src/libs6rc/s6rc_servicedir_internal.c
@@ -18,13 +18,15 @@ static s6rc_servicedir_desc_t const svdir_file_list[] =
{ .name = "notification-fd", .type = FILETYPE_UINT, .options = 0 },
{ .name = "timeout-kill", .type = FILETYPE_UINT, .options = 0 },
{ .name = "timeout-finish", .type = FILETYPE_UINT, .options = 0 },
+ { .name = "max-death-tally", .type = FILETYPE_UINT, .options = 0 },
+ { .name = "down-signal", .type = FILETYPE_NORMAL, .options = 0 },
{ .name = "data", .type = FILETYPE_DIR, .options = 0 },
{ .name = "env", .type = FILETYPE_DIR, .options = 0 },
{ .name = 0, .options = 0 }
} ;
s6rc_servicedir_desc_t const *s6rc_servicedir_file_list = svdir_file_list ;
-size_t const s6rc_servicedir_file_maxlen = 15 ;
+size_t const s6rc_servicedir_file_maxlen = 16 ;
int s6rc_servicedir_copy_one (char const *src, char const *dst, s6rc_servicedir_desc_t const *p)
{