mirror of
https://github.com/askh/pypimirror.git
synced 2026-03-13 06:39:47 +00:00
Remove outdated script devpisrv.sh.
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEFAULT_INSECURE_ROOT_PASSWORD="root"
|
||||
|
||||
DATA_DIR=/var/local/devpisrv
|
||||
SERVER_DIR=${DATA_DIR}/server
|
||||
INSTALL_DIR=${DATA_DIR}/install
|
||||
ENV_FILE=${INSTALL_DIR}/.env
|
||||
|
||||
if [[ ! -f "$SERVER_DIR/.nodeinfo" ]]
|
||||
then
|
||||
if [[ -f "$ENV_FILE" ]]
|
||||
then
|
||||
source "$ENV_FILE"
|
||||
fi
|
||||
INSTALL_ROOT_PASSWORD=${ROOT_PASSWORD:-${DEFAULT_INSECURE_ROOT_PASSWORD}}
|
||||
devpi-init --serverdir "$SERVER_DIR" --root-passwd "${INSTALL_ROOT_PASSWORD}"
|
||||
# rm "${INSTALL_DIR}/*"
|
||||
fi
|
||||
|
||||
devpi-server --serverdir "$SERVER_DIR" --host 0.0.0.0 --restrict-modify root
|
||||
|
||||
Reference in New Issue
Block a user