mirror of
https://github.com/Luzifer/rust-server.git
synced 2024-12-22 04:11:19 +00:00
Fix licens and readme
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
a272b9d33b
commit
377b60b2cd
2 changed files with 8 additions and 9 deletions
5
LICENSE
5
LICENSE
|
@ -178,7 +178,7 @@
|
|||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "{}"
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
|
@ -186,7 +186,7 @@
|
|||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright {yyyy} {name of copyright owner}
|
||||
Copyright 2017- Knut Ahlers <knut@ahlers.me>
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@ -199,3 +199,4 @@
|
|||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
|
|
12
README.md
12
README.md
|
@ -12,13 +12,11 @@ This repository contains a Docker setup for [Linux Game Server Managers](https:/
|
|||
- Edit `/data/rust/rustserver` script and exchange RCON password and other configuration variables
|
||||
- Edit `/data/rust/serverfiles/server/rust-server/cfg/server.cfg` and set the description, image and URL of your server
|
||||
- Start your server:
|
||||
|
||||
```
|
||||
docker run -d -p 28015:28015/udp -p 28016:28016 \
|
||||
-v /data/rust:/home/rustserver --name rust \
|
||||
luzifer/rust-server start
|
||||
```
|
||||
|
||||
```
|
||||
docker run -d -p 28015:28015/udp -p 28016:28016 \
|
||||
-v /data/rust:/home/rustserver --name rust \
|
||||
luzifer/rust-server start
|
||||
```
|
||||
- To stop the server I recommend using the RCON console and the command `quit`. This will ensure the server has created a proper savegame.
|
||||
- To update the server stop it and afterwards execute the update:
|
||||
`docker run --rm -ti -v /data/rust:/home/rustserver luzifer/rust-server update`
|
||||
|
|
Loading…
Reference in a new issue