diff --git a/scripts/add-ssh-keys.sh b/scripts/add-ssh-keys.sh deleted file mode 100644 index b15dc5f..0000000 --- a/scripts/add-ssh-keys.sh +++ /dev/null @@ -1,5 +0,0 @@ -# simply pull keys down from sourcehut. -# i would use github, but my keys are a bit of a mess there, and it doesn't -# really matter. -mkdir -p $HOME/.ssh -curl https://meta.sr.ht/~gmem.keys >> $HOME/.ssh/authorized_keys diff --git a/scripts/backup-mc-server.sh b/scripts/backup-mc-server.sh deleted file mode 100644 index dc2238a..0000000 --- a/scripts/backup-mc-server.sh +++ /dev/null @@ -1,8 +0,0 @@ -# backs up minecraft server, assuming it's using a systemd socket. -# see /systemd -echo "Backing up server world" -echo "say Backing up world, please wait..." > /home/ubuntu/mc/minecraft.control -echo "save-off" > /home/ubuntu/mc/minecraft.control -rclone sync /home/ubuntu/mc hetzner: -P -echo "save-on" > /home/ubuntu/mc/minecraft.control -echo "say World backed up, saving re-enabled" > /home/ubuntu/mc/minecraft.control \ No newline at end of file diff --git a/scripts/start-mc-server.sh b/scripts/start-mc-server.sh deleted file mode 100644 index ceaccc5..0000000 --- a/scripts/start-mc-server.sh +++ /dev/null @@ -1,9 +0,0 @@ -# start minecraft server with optimised jvm flags from https://mcflags.emc.gs -java -Xms6G -Xmx6G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 \ - -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch \ - -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M \ - -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 \ - -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 \ - -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem \ - -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true \ - -jar paper.jar --nogui \ No newline at end of file