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