193 Commits

Author SHA1 Message Date
Fez Vrasta
5d1a5d3cb5 Merge pull request #193 from klightspeed/1.4-dev#fixrootcmd
Fix error in running as root
2015-09-26 15:06:27 +02:00
Ben Peddell
098f19d147 Add option to select mod OS
The Linux version of some mods don't work at all with the dedicated
server.  Allow the administrator to configure which mod branch
to grab (Windows or Linux).
2015-09-25 10:50:04 +10:00
Ben Peddell
1505aa85ab Automatically su to steamcmd_user if run as root 2015-09-24 17:19:23 +10:00
Ben Peddell
a307643e90 Fix config variable fetching 2015-09-24 17:19:06 +10:00
Marius Linge
c9ddb5c87d Merge pull request #184 from Atriusftw/feature/BackupPreUpdate
Allow backing up prior to updating the server
2015-09-23 05:36:29 +02:00
Marius Linge
47c070a21c Adds the new command to arkmanager help 2015-09-23 02:35:12 +02:00
Marius Linge
cd69429405 Fixes typo from last commit 2015-09-22 21:40:03 +02:00
Marius Linge
e58ad46797 Actually displays seconds instead of spamming 1 minute 2015-09-22 21:24:38 +02:00
Marius Linge
115f0c3ce7 Improves the backup on-request feature 2015-09-22 19:42:50 +02:00
Marius Linge
fee2e3040f Prevents version conflicts 2015-09-22 01:17:38 +02:00
Ben Peddell
034b84b2d0 Merge branch '1.3#flags' into 1.4-dev#flags 2015-09-21 04:49:33 +10:00
Ben Peddell
b977dc21bd Allow empty options
The config option e.g. ark_bRawSockets="" should result in the
...?bRawSockets
2015-09-21 04:45:33 +10:00
Fez Vrasta
2ebb9ed6a9 Merge pull request #179 from klightspeed/1.4-dev#rootupgrade
Allow upgrade / uninstall when running as root
2015-09-20 17:20:35 +02:00
Marius Linge
cb7ab15f69 Checks if user wants to perform a backup prior to updating if a new version is available 2015-09-20 08:19:24 +02:00
Ben Peddell
12c95477cb Merge branch '1.3#fixupdatewarn' into 1.4-dev#fixupdatewarn 2015-09-19 17:59:34 +10:00
Ben Peddell
5c69404551 Fix "infinite" update warn 2015-09-19 17:53:29 +10:00
Ben Peddell
235ee824cc Allow upgrade-tools and uninstall-tools when running as root 2015-09-19 08:31:32 +10:00
Ben Peddell
938c031c73 Move script version above root check 2015-09-19 08:29:23 +10:00
Ben Peddell
4b23b0846f Don't use sudo if uid is 0 2015-09-19 08:28:24 +10:00
Ben Peddell
54872744fa Move doUpgradeTools and doUninstallTools above root check 2015-09-19 08:26:32 +10:00
Ben Peddell
2d305755be Rename doUpgrade to doUpgradeTools 2015-09-19 08:25:28 +10:00
Ben Peddell
c31946525a Make it more obvious that update command takes multiple options 2015-09-19 00:09:00 +10:00
Ben Peddell
4e7fc8f0b1 Add --saveworld option to update 2015-09-19 00:05:14 +10:00
Ben Peddell
f60556c317 Merge branch '1.3#savebeforeupdate' into 1.4-dev 2015-09-19 00:02:25 +10:00
Ben Peddell
38d9b4e977 Save world before update
Not using isTheServerUp, as doSaveWorld should return immediately
if the server is not up.
2015-09-18 23:56:30 +10:00
Ben Peddell
ee32f7c86a Add uninstall-tools command to arkmanager 2015-09-18 20:00:25 +10:00
Ben Peddell
0a09613c3e Rename upgrade command to upgrade-tools 2015-09-18 20:00:18 +10:00
Ben Peddell
f8789764dc Add datadir and dataprefix arguments to install 2015-09-18 19:37:12 +10:00
Ben Peddell
283c04dd81 Add install_bindir and install_libexecdir to config 2015-09-18 19:34:07 +10:00
Ben Peddell
dc9fe449e6 Merge branch 'master' into 1.4-dev 2015-09-18 17:41:28 +10:00
Ben Peddell
4a50d29324 Add server auto-restart 2015-09-17 20:22:03 +10:00
Ben Peddell
e9b987f19a Add update --update-mods option 2015-09-16 19:48:52 +10:00
Ben Peddell
b5819d517d Only copy changed files when extracting a mod 2015-09-16 19:36:06 +10:00
Ben Peddell
4bd9da569a Move mod extraction to out of doInstallMod 2015-09-16 19:29:01 +10:00
Ben Peddell
2207ff160a Move Mod download out of doInstallMod 2015-09-16 19:20:43 +10:00
Ben Peddell
fddbec4f00 Add --validate option to update 2015-09-16 19:10:42 +10:00
Ben Peddell
39c649d296 Merge forceUpdate into doUpdate 2015-09-16 19:02:48 +10:00
Ben Peddell
9b5435fe49 Allow update to take multiple options 2015-09-16 18:59:43 +10:00
Ben Peddell
e86f7b0ba3 Merge doWarnUpdate into doUpdate 2015-09-16 18:52:35 +10:00
Ben Peddell
e3dbe2847a Merge safe update into doUpdate 2015-09-16 18:48:42 +10:00
Ben Peddell
c329f28fee Move --force argument into doUpdate 2015-09-16 18:45:19 +10:00
Fez Vrasta
22b021b41b Merge pull request #160 from klightspeed/1.4-dev#multiserver
1.4 Features
2015-09-14 11:23:52 +02:00
Ben Peddell
3eb123fa61 Add AltSaveDirectoryName support in backup 2015-09-14 17:10:37 +10:00
Ben Peddell
b294cb622a ARK -flag support 2015-09-14 17:10:37 +10:00
Ben Peddell
0080e3c81a Add start --all and stop --all commands
These commands will start and stop all servers specified in
the configfile_xxxxxx settings in the config file
2015-09-14 17:10:37 +10:00
Ben Peddell
c0793a8186 Make warning broadcast message customisable 2015-09-14 17:02:07 +10:00
Ben Peddell
01600381fa Merge branch 'master' into 1.4-dev#warn 2015-09-14 17:01:25 +10:00
Ben Peddell
71e1fad790 Fix issues with user-install
* Ignore the steamcmd_user when validating the environment
* Add a -- separator when installing, so that --me is interpreted as
  an argument to the script rather than an argument to bash
2015-09-14 16:09:45 +10:00
Ben Peddell
6b0c08ab09 Add option to warn players before update 2015-09-14 05:45:01 +10:00
Ben Peddell
5b9a3db3c6 Add installmod command 2015-09-13 07:27:41 +10:00