Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9312773
entrypoint.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
542 B
Subscribers
None
entrypoint.sh
View Options
#!/bin/bash
set
-e
source
/srv/softwareheritage/utils/pyutils.sh
setup_pip
source
/srv/softwareheritage/utils/pgsql.sh
setup_pgsql
case
"
$1
"
in
"shell"
)
exec
bash
-i
;;
*
)
wait_pgsql
echo
Setup
the
database
PGPASSWORD
=
${
POSTGRES_PASSWORD
}
swh
db-init
\
--db-name
${
POSTGRES_DB
}
storage
echo
Starting
the
swh-storage
Kafka
storage
replayer
exec
swh-journal
replay
\
--broker
kafka
\
--prefix
swh.journal.objects
\
--consumer-id
swh.storage.replica
;;
esac
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Thu, Jul 3, 11:08 AM (1 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3240103
Attached To
rDENV Development environment
Event Timeline
Log In to Comment