Today I decided why not try to improve upon my last post where I created two scripts. One script for starting 3 game servers, the second script to check the status of said servers. After much consideration on how to make this process even more efficient I decided to build 3 services instead. Eliminating cronjobs and extra scripts laying around in my directories. With this method I can run a service file instead that runs even on reboot with no extra configuration. Then, utilize my checkall script after modifying it a bit to serve the same function it did before. Here are some clips of building & debugging the service, to real-time server testing! I only preview 1 server service in these videos but I have built services for all 3 already which work great.
Tag: bash
-
Building my first Linux Service
Building a service Testing the server after reboot -
Still learning Bash
Created two scripts today to automate some server tasks. These scripts being for one of my Ubuntu game servers running on Proxmox VE. With some simple bash I was able to utilize the screen command to autostart my servers without having to enter each servers directory & run the server executable myself. Not only that, but receive precise feedback for each startup to verify they started with 0 issues. Here’s the scripts working in real-time. Even successfully running on startup fully automated. I will be posting these scripts for download now! https://lnkd.in/gE_SB48c
-
Downloads page update!
After getting some time yesterday to revise a script I have rewrote many times I think it’s finally time to upload and make it available and open for suggestions. Here are some snippets of it in action. It can be found on the Downloads page.
Trying to test & break but I wrote it too well ๐
