Just wonder where I need to edit to obtain a tmux session name which includes the port, currently the script produces output like this 'gmod-server: 1 windows (created Sun Dec 27 23:13:01 2015) [130x23]' using the tmux ls command ... what I would like to do is open the tmux session like so 'gmod-server-xxxxx' where xxxxx is the port ...
I guess I need to glue the port variable to the end of the servicename variable ... if this is correct the config file would need to be named servicename-port.cfg ? assuming the new servicename is gmod-server-port .. if it all works I guess this may help anyone who wants to run another server off the same install
Just wonder where I need to edit to obtain a tmux session name which includes the port, currently the script produces output like this 'gmod-server: 1 windows (created Sun Dec 27 23:13:01 2015) [130x23]' using the tmux ls command ... what I would like to do is open the tmux session like so 'gmod-server-xxxxx' where xxxxx is the port ...
I guess I need to glue the port variable to the end of the servicename variable ... if this is correct the config file would need to be named servicename-port.cfg ? assuming the new servicename is gmod-server-port .. if it all works I guess this may help anyone who wants to run another server off the same install