fix $cfg path
This commit is contained in:
parent
75dda8f900
commit
0a1cd25f59
2 changed files with 4 additions and 4 deletions
|
|
@ -104,7 +104,7 @@ run_with_spinner() {
|
|||
########################################
|
||||
update_ssl_config() {
|
||||
local domain="$1"
|
||||
local cfg="/etc/pterodactyl/config.yml"
|
||||
local cfg="/etc/calagopus-wings/config.yml"
|
||||
local cert="/etc/letsencrypt/live/${domain}/fullchain.pem"
|
||||
local key="/etc/letsencrypt/live/${domain}/privkey.pem"
|
||||
|
||||
|
|
@ -252,7 +252,7 @@ if confirm_default_no "Run wings configure --join-data now?"; then
|
|||
JOIN_DATA="$(extract_join_data "$JOIN_DATA_RAW")"
|
||||
|
||||
if [[ -n "$JOIN_DATA" ]]; then
|
||||
$SUDO mkdir -p /etc/pterodactyl
|
||||
$SUDO mkdir -p /etc/calagopus-wings
|
||||
$SUDO "$WINGS_BIN" configure --join-data "$JOIN_DATA"
|
||||
CONFIG_CREATED=true
|
||||
say "Configuration complete"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue