You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
monero-lw/init_lws_admin.sh

8 lines
251 B
Bash

#!/bin/bash
if [[ "$(docker-compose exec -ti monero-lws monero-lws-admin list_admin)" == '{}' ]];
then
docker-compose exec -ti monero-lws monero-lws-admin create_admin;
else
docker-compose exec -ti monero-lws monero-lws-admin list_admin;
fi