Skip to content
Snippets Groups Projects
Commit ae267613 authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

install 66-fdholder-filler at libexec directory

parent c7628ad8
No related branches found
No related tags found
No related merge requests found
......@@ -22,8 +22,11 @@ BIN_TARGETS := \
66-umountall \
66-echo \
execl-envfile \
66-nuke \
66-oneshot \
66-fdholder-filler
66-nuke
LIBEXEC_TARGETS := \
66-fdholder-filler \
66-oneshot
LIB_DEFS := 66=66
......@@ -659,14 +659,8 @@ static void create_service_fdholder(char const *scandir)
if (symlink(dst, sym) < 0)
log_dieusys(LOG_EXIT_SYS, "symlink: ", dst) ;
size_t runlen = strlen(SS_EXECLINE_SHEBANGPREFIX) + 277 + 1 ;
/* {
*
*
*
* should be libexec/66-fdholder-filler
*
* */
size_t runlen = strlen(SS_EXECLINE_SHEBANGPREFIX) + strlen(SS_LIBEXECPREFIX) + 277 + 1 ;
char run[runlen] ;
auto_strings(run, "#!" SS_EXECLINE_SHEBANGPREFIX "execlineb -P\n", \
"pipeline -dw -- {\n",
......@@ -677,7 +671,7 @@ static void create_service_fdholder(char const *scandir)
" if -nt -- {\n", \
" redirfd -r 0 ./data/autofilled\n", \
" s6-ipcclient -l0 -- s\n", \
" /tmp/66/66-fdholder-filler -1 --\n", \
" ", SS_LIBEXECPREFIX "66-fdholder-filler -1 --\n", \
" }\n", \
" s6-svc -t .\n", \
"}\n", \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment