Cleanup bugfixes. Move vars to dedicated files

This commit is contained in:
Guillaume
2023-06-14 20:21:23 +02:00
parent d46b475e1b
commit 6721e05387
6 changed files with 63 additions and 31 deletions

View File

@ -1,11 +1,5 @@
#!/bin/bash
#
# Admin token to unlock the DLS store
DLS_UNLOCK_TOKEN=changeme
#
#
D2C_IMG=novit.tech/direktil/local-server:b6fa941
DLS_IMG=novit.tech/direktil/local-server:b6fa941
prereqs_dls() {
command -v docker 1>/dev/null || perror "Docker is needed, please install it and run again."
@ -39,8 +33,8 @@ start_store() {
source $(dirname $0)/.common
check_root
prereqs_dls
prereqs
prereqs_dls
dir2config
start_store
unlock_store