Remove command generate-tls-cert

This commit is contained in:
W13R 2022-03-16 18:38:59 +01:00
parent fd3069a172
commit 2bd667d952
8 changed files with 2 additions and 130 deletions

6
run.sh
View file

@ -8,7 +8,6 @@ function show_dm_help { # $1 = exit code
echo -e " server\t\tstart server"
echo -e " setup\t\t\tset up the application"
echo -e " create-admin\t\tcreate an admin account"
echo -e " generate-tls-cert\tgenerate a new self-signed tls certificate for https"
echo -e " generate-secret-key\tgenerate a new random secret key for django"
echo -e " clear-sessions\tmanually remove all expired sessions from the database"
echo -e " force-db-upgrade\tforce a database migration & upgrade"
@ -55,11 +54,6 @@ else
elif [ $1 = 'setup' ]; then
source "$(pwd)/lib/setup-application.sh"
elif [ $1 = 'generate-tls-cert' ]; then
source "$(pwd)/config/tls/cert-config.sh"
python3 "$(pwd)/lib/generate-tls-cert.py"
elif [ $1 = 'generate-secret-key' ]; then