mirror of
https://github.com/rclone/rclone.git
synced 2025-12-11 22:14:05 +01:00
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
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:
@@ -25,7 +25,7 @@ opened their TCP ports.
|
|||||||
## Writing new scripts
|
## Writing new scripts
|
||||||
|
|
||||||
A docker based server or an `rclone serve` based server should be easy
|
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
|
`run.bash` contains boilerplate to be included in a bash script for
|
||||||
interpreting the command line parameters. This does reference counting
|
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
|
based implementations. It contains implementations of `stop()` and
|
||||||
`status()` so all you have to do is write a `start()` function which
|
`status()` so all you have to do is write a `start()` function which
|
||||||
should call the `run()` function provided.
|
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.
|
||||||
|
|||||||
Reference in New Issue
Block a user