I need help writing a script to launch a server inside tmux <3
 

I need help writing a script to launch a server inside tmux <3

 
He guys, i’m an admin/owner of a local hosted server, hosting 2 LinuxGSM servers one csgo and one Minecraft, then a modded minecraft 1.12.2 server, not with linuxGSM. i don’t want all the servers to be launched at once i was looking for a way to run a sh bash file that would launch tmux as the servers user . then run the start command which for the gsm servers is “./mcserver start” and “./csgoserver start” . and then the launch parameters for the modded minecraft server is “java -Xms8G -Xmx8g -jar forge-1.12.2-14.23.5.2854.jar –port 25567 nogui” . if anyone knows how to make a good script for both starting and stopping each server individually in separate tmux session.

I’d appreciate any help, advice or concerns <3
thanks guy

 

Previous Many ports on my router's IP are open
Next [kubuntu] Random Title bar colors
 

About author

You might also like

Ubuntu Dsicussions 0 Comments

[ubuntu] Snap-store and Chromium don't open

I have some problem with snap-store and chromium: after start they can’t open. Gnome-software is working. If run applications in terminal, in both cases i receive the error “Inconsistency detected

Ubuntu Dsicussions 0 Comments

[ubuntu] Only Wi-Fi not working after I installed Ubuntu on Asus T100 HA notebook/tablet

The disk space on the notebook (32GB) is useless for Windows, but it’s fine for Ubuntu. I installed the Ubuntu 20.04 desktop version on Asus T100 HA notebook/tablet, and got

Ubuntu Dsicussions 0 Comments

how to encrypt ubuntu install but not use all hdd?

hi how do i do an install of ubuntu or any linux for that matter using lvm encryption but not using all the partition? say lvm encryt the file system

0 Comments

No Comments Yet!

You can be first to comment this post!

Leave a Reply