diff options
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | doc/auth_backends.md | 2 | ||||
-rw-r--r-- | proxy.go | 2 |
3 files changed, 5 insertions, 5 deletions
@@ -33,9 +33,9 @@ as it can cause version mismatches between them.** ### Starting Run `${GOBIN}/mt-multiserver-proxy`. The configuration file and other required -files are created automatically in the directory the executable -(or symlink to said executable) is in, so make sure to move the -executable to the desired location or use a symlink. +files are created automatically in the directory the executable is in, +so make sure to install the executable to the desired location. +Symlinks to the executable will be followed, only the real path matters. ### Stopping mt-multiserver-proxy reacts to SIGINT, SIGTERM and SIGHUP. It stops listening diff --git a/doc/auth_backends.md b/doc/auth_backends.md index e58bd42..59c453f 100644 --- a/doc/auth_backends.md +++ b/doc/auth_backends.md @@ -59,7 +59,7 @@ go install github.com/HimbeerserverDE/mt-multiserver-proxy/cmd/mt-auth-convert@l Please specify the version explicitly if @latest differs from your proxy version. ### Usage -1. Move the binary to the directory the proxy binary is located in. The same rules apply regarding symlinks. +1. Move the binary to the directory the proxy binary is located in. The same rules apply regarding symlinks (see [README](https://github.com/HimbeerserverDE/mt-multiserver-proxy#readme)). 2. Move or copy the source database to the directory. 3. Stop the proxy. 4. Run the conversion tool. @@ -28,7 +28,7 @@ var proxyDir string var proxyDirOnce sync.Once // Path prepends the directory the executable is in to the given path. -// It does not follow symlinks. +// It follows symlinks to the executable. func Path(path ...string) string { proxyDirOnce.Do(func() { executable, err := os.Executable() |