Skip to content

Commit

Permalink
fix: wg path on init.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
domysh committed Oct 12, 2023
1 parent 96340f9 commit c298494
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# extract wg config file path, or use default
conf="$(jq -r .config_interface db/server/global_settings.json || echo wg0)"
conf=${WGUI_INTERFACE:-wg0}
file="/etc/wireguard/$conf.conf"
# manage wireguard stop/start with the container

Expand Down
1 change: 0 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import (
"io/fs"
"net/http"
"os"
"path/filepath"
"time"

"github.com/domysh/wireui/store"
Expand Down

0 comments on commit c298494

Please sign in to comment.