Add fabric bundle for 'theo-server'
This commit is contained in:
parent
9e275a35f8
commit
a26e3088c5
23 changed files with 1032 additions and 0 deletions
17
machines/theo-server/deploy/theo-common/import-catapult-first.sh.mako
Executable file
17
machines/theo-server/deploy/theo-common/import-catapult-first.sh.mako
Executable file
|
@ -0,0 +1,17 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
# sanity check
|
||||
if [ "$USER" != 'rattail' ]; then
|
||||
echo ''
|
||||
echo "Please run this script as 'rattail' user:"
|
||||
echo ''
|
||||
echo " sudo -u rattail $0"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd ${envroot}
|
||||
|
||||
RATTAIL='bin/rattail -c app/quiet.conf -P'
|
||||
|
||||
$RATTAIL import-catapult --no-versioning --warnings
|
||||
$RATTAIL import-versions --runas catapult --warnings -m "initial data from Catapult"
|
Loading…
Add table
Add a link
Reference in a new issue