Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F8392090
entrypoint.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
629 B
Subscribers
None
entrypoint.sh
View Options
#!/bin/bash
if
[
-z
"
${
SWH_CONFIG_FILENAME
}
"
]
;
then
echo
"The SWH_CONFIG_FILENAME environment variable must be set"
exit
1
fi
if
[
-z
"
${
SWH_INDEXER_TYPE
}
"
]
;
then
echo
"The SWH_INDEXER_TYPE environment variable must be set"
exit
1
fi
if
[
!
-e
"
${
SWH_CONFIG_FILENAME
}
"
]
;
then
echo
"The config file
${
SWH_CONFIG_FILENAME
}
does not exist"
exit
1
fi
# start the replayer
echo
"Starting indexer journal client..."
/usr/bin/swh
\
--log-level
$LOGLEVEL
\
--log-level
azure.core.pipeline.policies.http_logging_policy:WARNING
\
indexer
\
--config-file
$SWH_CONFIG_FILENAME
\
journal-client
$SWH_INDEXER_TYPE
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Jun 4 2025, 6:54 PM (12 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3398866
Attached To
R259 Software Heritage virtual environment packaging manifests
Event Timeline
Log In to Comment