Browse Source

minor changes

feature/startup-from-labels
Mar Alegre 5 years ago
parent
commit
2b782820bf
  1. 3
      src/debian/Containerfile
  2. 2
      src/debian/assets/bash.bashrc
  3. 2
      src/debian/assets/bin/dir
  4. 2
      src/debian/assets/bin/rsyn
  5. 10
      src/debian/assets/bin/shw
  6. 6
      src/mcbe/assets/minecraft/server.properties

3
src/debian/Containerfile

@ -31,3 +31,6 @@ RUN apt update -y && \
# Set configuration
COPY assets/nanorc /etc/nanorc
COPY assets/bash.bashrc /etc/bash.bashrc
# copy custom scripts
COPY assets/bin/ /usr/local/bin/

2
src/debian/assets/bash.bashrc

@ -85,5 +85,3 @@ if [ -x /usr/lib/command-not-found -o -x /usr/share/command-not-found/command-no
fi
alias ls='ls --color=auto'
alias dir='ls -lFAh'
alias rsyn='rsync -vaSH'

2
src/debian/assets/bin/dir

@ -0,0 +1,2 @@
#!/bin/bash
ls -lhAF --color=auto "$@"

2
src/debian/assets/bin/rsyn

@ -0,0 +1,2 @@
#!/bin/bash
rsync -vaSH "$@"

10
src/debian/assets/bin/shw

@ -0,0 +1,10 @@
#!/bin/bash
# if $1 is a text file, less it
if file "$1" | grep -q text; then
less -FRX "$1"
# otherwise, just dir it
else
ls -lhAF --color=auto "$@"
fi

6
src/mcbe/assets/minecraft/server.properties

@ -36,11 +36,11 @@ server-portv6=19133
# Which IPv6 port the server should listen to.
# Allowed values: Integers in the range [1, 65535]
view-distance=80
view-distance=60
# The maximum allowed view distance in number of chunks.
# Allowed values: Any positive integer.
tick-distance=12
tick-distance=8
# The world will be ticked this many chunks away from any player.
# Allowed values: Integers in the range [4, 12]
@ -48,7 +48,7 @@ player-idle-timeout=0
# After a player has idled for this many minutes they will be kicked. If set to 0 then players can idle indefinitely.
# Allowed values: Any non-negative integer.
max-threads=8
max-threads=0
# Maximum number of threads the server will try to use. If set to 0 or removed then it will use as many as possible.
# Allowed values: Any positive integer.

Loading…
Cancel
Save