Skip to content

Commit

Permalink
Update README and set directory perms
Browse files Browse the repository at this point in the history
  • Loading branch information
lloesche committed Feb 6, 2021
1 parent 882e49f commit c065015
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ Valheim Server in a Docker Container

# Docker example
```
$ mkdir -p $PWD/valheim-server-config
$ docker run -d --rm \
-p 2456-2458:2456-2458/udp \
-v $PWD/valheim-server-config:/config \
-e SERVER_NAME="My Server" \
-e WORLD_NAME="Neotopia" \
-e SERVER_PASS="secret" \
Expand Down
4 changes: 3 additions & 1 deletion valheim-updater
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
cd /opt/steamcmd
# Fix permissions in case they were altered externaly
chown -R steam:steam /config

cd /opt/steamcmd
main() {
while :; do
update
Expand Down

0 comments on commit c065015

Please sign in to comment.