testserver: remind developers about allocating a port
Some checks failed
build / windows (push) Has been cancelled
build / other_os (push) Has been cancelled
build / mac_amd64 (push) Has been cancelled
build / mac_arm64 (push) Has been cancelled
build / linux (push) Has been cancelled
build / go1.24 (push) Has been cancelled
build / linux_386 (push) Has been cancelled
build / lint (push) Has been cancelled
build / android-all (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/386 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/amd64 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v6 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm/v7 (push) Has been cancelled
Build & Push Docker Images / Build Docker Image for linux/arm64 (push) Has been cancelled
Build & Push Docker Images / Merge & Push Final Docker Image (push) Has been cancelled

This commit is contained in:
Nick Craig-Wood
2025-11-05 11:00:09 +00:00
parent 7e9e81a43b
commit c1fb6141c7

View File

@@ -25,7 +25,7 @@ opened their TCP ports.
## Writing new scripts
A docker based server or an `rclone serve` based server should be easy
to write. Look at once of the examples.
to write. Look at one of the examples.
`run.bash` contains boilerplate to be included in a bash script for
interpreting the command line parameters. This does reference counting
@@ -41,3 +41,8 @@ implementations. It contains implementations of `stop()` and
based implementations. It contains implementations of `stop()` and
`status()` so all you have to do is write a `start()` function which
should call the `run()` function provided.
Any external TCP or UDP ports used should be unique as any of the
servers might be running together. So please create a new line in the
[PORTS](PORTS.md) file to allocate your server a port. Bind any ports
to localhost so they aren't accessible externally.