From 6a862a871fa6b6a4efc8d72554c53c0032d3701149db8effcaaab67a31d00ab3 Mon Sep 17 00:00:00 2001 From: Gahx Date: Fri, 15 Aug 2025 09:01:23 -0400 Subject: [PATCH] Upload files to "/" --- TModTerraria.service | 11 +++++++++++ Terraria.service | 11 +++++++++++ service_template.service | 12 ++++++++++++ valheim.service | 11 +++++++++++ weeklies.sh | 11 +++++++++++ 5 files changed, 56 insertions(+) create mode 100644 TModTerraria.service create mode 100644 Terraria.service create mode 100644 service_template.service create mode 100644 valheim.service create mode 100644 weeklies.sh diff --git a/TModTerraria.service b/TModTerraria.service new file mode 100644 index 0000000..ec41a06 --- /dev/null +++ b/TModTerraria.service @@ -0,0 +1,11 @@ +[Unit] +Description=Modded Terraria Service + +[Service] +User=marcus +Group=games +WorkingDirectory=/home/marcus/terraria/1449/Linux/tmodserver/ +ExecStart=/home/marcus/terraria/1449/Linux/tmodserver/start-tModLoaderServer.sh + +[Install] +WantedBy=multi-user.target diff --git a/Terraria.service b/Terraria.service new file mode 100644 index 0000000..9c3a115 --- /dev/null +++ b/Terraria.service @@ -0,0 +1,11 @@ +[Unit] +Description=Modded Terraria Service + +[Service] +User=marcus +Group=games +WorkingDirectory=/home/marcus/terraria/1449/Linux/ +ExecStart=/home/marcus/terraria/1449/Linux/start-server.sh + +[Install] +WantedBy=multi-user.target diff --git a/service_template.service b/service_template.service new file mode 100644 index 0000000..e094ead --- /dev/null +++ b/service_template.service @@ -0,0 +1,12 @@ +[Unit] +Description= # This is a label for your service + +[Service] +User= # Linux user (including bot accounts) that will run the service +Group= # Linux Group (including bot accounts) that have permission to run the service +WorkingDirectory= # Location of exe that the service will run (do not include exe in this path) +ExecStart= # Actual path of exe, if using a launcher file any unique parms can be added here + + +[Install] +WantedBy=minecraft.target # Any dependant services that are "bundled" with this one. target (as shown in example) files act as a bundle to fire up multiple services diff --git a/valheim.service b/valheim.service new file mode 100644 index 0000000..467e218 --- /dev/null +++ b/valheim.service @@ -0,0 +1,11 @@ +[Unit] +Description=Wonderbit Valheim Service + +[Service] +User=marcus +Group=games +WorkingDirectory=/home/marcus/valheim +ExecStart=/home/marcus/valheim/start_server_bepinex.sh + +[Install] +WantedBy=multi-user.target diff --git a/weeklies.sh b/weeklies.sh new file mode 100644 index 0000000..b9fac78 --- /dev/null +++ b/weeklies.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +TIMESTAMP=$(date +%F) + +mcbakup(){ +cd /home/marcus/Wonderbit-Server +cp -r Wonderbit ~/Wonderbit_$TIMESTAMP +} + +mcbakup +echo "Wonderbit Backup Complete">>~/Desktop/log.txt