Commit Graph

20 Commits

Author SHA1 Message Date
Daniel Gibbs
a023b47ac5 Fixed curl check bug 2015-12-12 21:55:08 +00:00
Daniel Gibbs
9cf1775749 All servers now have new github branch select feature 2015-12-12 19:55:57 +00:00
Daniel Gibbs
45059de113 Removed parms and using config instead 2015-07-18 23:22:23 +01:00
Daniel Gibbs
d7a12cddd1 Example config 2015-07-15 22:04:04 +01:00
Daniel Gibbs
a8c39c9ab1 Speed up function loading
Removed sleep 1 from fn_runfunction to speed up loading of functions.
This will save me a lot of time waiting.
2015-07-04 18:54:48 +01:00
Daniel Gibbs
9eea49a923 Updates to fn_install_config
Made this function more consistent across different servers and changed
defaultconfig var to servercfgdefault
2015-07-03 22:31:09 +01:00
Daniel Gibbs
c1ad3e6716 added updateonstart variable
this new variable will allow the script to check for updates when
running the start command
2015-05-09 20:49:00 +01:00
Daniel Gibbs
58f1e2ace3 Removed --no-check-certificate from wget
--no-check-certificate presents a possible security risk.
--no-check-certificate is only used because older distros do not
recognise githubusercontent.com and will fail to download files. I have
decided to remove remove this option for now. It may be the case later
that I all this with older distros if there is a need for it.
2015-05-03 12:29:24 +01:00
wb
bcb36f368b Updated wget URL for repository
changed linuxgameserver to linuxgsm across 33 files
2015-03-21 14:54:16 -06:00
Poil
7df2d8c602 True selfname. Remove stupid code 2015-01-25 21:37:43 +01:00
Daniel Gibbs
c912c4d2bd Major rename of functions
* All functions names have been reviewed and renamed to make it easier
to identify what the function is for. This is for my benefit as there
are now over 50 functions to manage.

* New details feature. It has been reworked to add more useful info and
fix any bugs with details not always being displayed.

* Main script file e.g csgoserver should no longer require any updates
from this point. All code modifications should be made from the
functions. Any future edits would relate to server specific config.

* servername variable has been moved to its own function if name is
gathered from a config file. The same applies for ports, usernames and
passwords.

* new function fn_details_distro gathers all the required OS info for
fn_details and other functions that require this info

* Various improvements and bug fixes that I cannot remember.
2015-01-22 21:13:44 +00:00
Daniel Gibbs
13b2b2bbe3 Migrated scripts to use fn_functions
* Scripts have been migrated to use fn_functions
* Major changes please report any bug right away
2015-01-03 23:46:05 +00:00
Daniel Gibbs
8f549d689c All servers fully migrated to functions code
All servers have now been migrated to the new functions code. All
functions are now separated in there own file allowing to make quicker
changes to all servers code and simpler management of the code. For the
developer the code is now very scalable.
2014-12-03 23:21:25 +00:00
Daniel Gibbs
c818a2adff migrated fn_loginstall
migrated fn_loginstall. Fixed issue with symbolic link for server logs
being created even if it does not exit for that server.
2014-11-23 22:53:42 +00:00
Daniel Gibbs
ca7cb32935 functions code now uses absolute paths
sometimes the code was not in the correct dir causing the function to be
re downloaded or not function. Now using absolute paths to make sure the
script uses the correct dir
2014-11-23 22:11:00 +00:00
Daniel Gibbs
0f0fe5b13a added glibc fix 2014-11-22 19:53:05 +00:00
Daniel Gibbs
450f350a4d wget and tmux error fix
* fixed some distros not downloading functions becuase of old
certificates. Added --no-check-certificate to anything wget code
relating to githubusercontent.com
* fixed tmux-error.tmp not being deleted correctly
2014-11-22 19:38:29 +00:00
Daniel Gibbs
c5f321dff4 Migrated to new split functions system
All scripts now have the new split functions system in-place.

Some functions now have there own file rather than being in the main
script file.
If the main script requires the file is will automatically download it
in the the functions dir for use.

Only a few functions currently do this. However if a change is made to a
function it will be migrated. In the long term this will reduce the need
for me to copy the same code over 20 times and drastically reduce the
time it takes me to make changes.
2014-11-14 20:14:00 +00:00
Daniel Gibbs
1102972221 Added tmux error checking
*Added tmux error checking - because of recent issues with some CentOS 7
installs not working with standard users. Errors will be reported to the
script logs.
*  Very minor bug fixes
* Version updates to all scripts
2014-10-06 23:05:30 +01:00
Scarsz
aad98532a5 Create jc2server 2014-10-03 22:48:05 -07:00