Skip to content

Commit

Permalink
feat: rename paths
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Feb 8, 2024
1 parent f41715f commit c2601fb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ The reason is
- Will only managed over unix socket.

**Environment Variables -**
- `SOCKET_PATH` - Path of the unix socket. Default: `/etc/udplb/api.sock`
- `RECORDS_PATH` - Path of the records file. Default: `/etc/udplb/records`
- `SOCKET_PATH` - Path of the unix socket. Default: `/etc/udpproxy/api.sock`
- `RECORDS_PATH` - Path of the records file. Default: `/var/lib/udpproxy/records`
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/swiftwave-org/udplb
module github.com/swiftwave-org/udpproxy

go 1.21.3

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"syscall"
)

var socketPath = "/etc/udplb/api.sock"
var socketPath = "/etc/udpproxy/api.sock"

func init() {
socketPathEnv := os.Getenv("SOCKET_PATH")
Expand Down
2 changes: 1 addition & 1 deletion parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"strings"
)

var storedFilePath = "/etc/udplb/records"
var storedFilePath = "/var/lib/udpproxy/records"

func init() {
// try to read records path from environment
Expand Down

0 comments on commit c2601fb

Please sign in to comment.