Upload files to "/"

This commit is contained in:
2025-08-15 09:01:23 -04:00
parent 079c28ac33
commit 6a862a871f
5 changed files with 56 additions and 0 deletions

11
TModTerraria.service Normal file
View File

@@ -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

11
Terraria.service Normal file
View File

@@ -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

12
service_template.service Normal file
View File

@@ -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

11
valheim.service Normal file
View File

@@ -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

11
weeklies.sh Normal file
View File

@@ -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