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
Ben Peddell
72e0543b6f
Use $steamcmd_user instead of $1 when altering new config
2015-09-24 07:35:04 +10:00
Ben Peddell
94eda243bf
Fix install.sh
...
It was modifying arkmanager.cfg, when it should have been modifying
arkmanager.cfg.NEW
2015-09-24 07:28:29 +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
94b3138988
Adds a configuration value to allow backup prior to updating the server
2015-09-20 08:20:02 +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
2a3a2cc1aa
Add uninstall scripts
2015-09-18 19:41:43 +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
d40d9d9df3
Always write arkmanager.cfg.NEW
2015-09-18 19:25:30 +10:00
Ben Peddell
bfca58c39d
Add libexecdir argument to install.sh
2015-09-18 19:22:38 +10:00
Ben Peddell
3977190e7a
Use PREFIX for global install
2015-09-18 19:17:49 +10:00
Ben Peddell
b86967c30c
Add bindir argument to install.sh
2015-09-18 19:16:09 +10:00
Ben Peddell
f597644d59
Improve install.sh usage message
2015-09-18 19:12:20 +10:00
Ben Peddell
563c34b3f2
Add prefix, exec-prefix and install-root arguments
2015-09-18 19:10:23 +10:00
Ben Peddell
37014ec86d
Implement better argument handling in install.sh
2015-09-18 19:06:15 +10:00
Ben Peddell
dc9fe449e6
Merge branch 'master' into 1.4-dev
2015-09-18 17:41:28 +10:00
Ben Peddell
8568498a17
Fix issue with user-install in install.sh
...
Install script was putting "me" instead of "--me" into config file
2015-09-18 12:24:10 +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