325 Commits

Author SHA1 Message Date
Ben Peddell
d2e8f30e3c Wait for SteamCMD to download mod
When `workshop_download_item` is executed, the Steam API will
download not just the specified mod, but also every other
mod that has ever been installed by that SteamCMD instance.
Wait for those to download and update when downloading the mod.
2015-12-09 04:40:31 +10:00
Ben Peddell
8aa42357c9 Take RCONPort from GameUserSettings.ini with default 2015-12-09 03:33:43 +10:00
Ben Peddell
2d30e7bbc2 Fix retrieving settings from ini file
The `sed -n` was missed, thus causing arkmanager to be unable
to get the password or RCON port from GameUserSettings.ini

Fixes: 30aea93bd6572df640d04951617bbe477571dea7
2015-12-08 02:57:40 +10:00
Fez Vrasta
720027f574 Merge pull request #308 from klightspeed/1.4#versionoption
Add --version option
2015-12-02 14:09:41 +01:00
Ben Peddell
349aca899b Return 1 from checkupdate when an update is required 2015-12-02 20:12:39 +10:00
Ben Peddell
d09ac2b8d7 Return the status of the last command 2015-12-02 20:12:01 +10:00
Ben Peddell
ecfb7027c5 Add --version option 2015-12-02 20:04:58 +10:00
Ben Peddell
30aea93bd6 Add defaults for Port, QueryPort, RCONPort and serverMap 2015-11-26 16:48:29 +10:00
Ben Peddell
f859df13ac Prevent multiple updates from occurring concurrently 2015-11-24 00:09:32 +10:00
Ben Peddell
7112779ef8 Fix typo in Debian and Redhat systemd installs 2015-11-09 17:06:58 +10:00
Fez Vrasta
63ed10525c Merge pull request #265 from klightspeed/1.4#fixinstallowner
Fix /var/log/arktools and arkmanager.cfg ownership
2015-11-03 19:44:36 +01:00
Ben Peddell
252fa7ca0b Fix /var/log/arktools and arkmanager.cfg ownership 2015-11-04 00:06:21 +10:00
Fez Vrasta
63c2abad6e Merge pull request #256 from klightspeed/1.4#fixupdateneeded
Fix mod update not being detected
2015-11-02 13:20:59 +01:00
Ben Peddell
346de3731d Fix typo in upgrade-tools when running as root 2015-11-02 00:46:51 +10:00
Ben Peddell
83de3cbb66 Fix mod update not being detected 2015-10-31 17:18:16 +10:00
Ben Peddell
ba82be2ef4 Add missing .modbranch file creation 2015-10-27 03:13:47 +10:00
Fez Vrasta
63f26a86a2 Merge pull request #244 from klightspeed/1.4-dev#dumbterm
Pull #241 from master into 1.4-dev
2015-10-24 17:20:20 +02:00
Ben Peddell
365986ddb0 Move TERM fixup into arkmanager 2015-10-24 15:02:10 +10:00
Fez Vrasta
63dda70950 Merge pull request #236 from klightspeed/1.4-dev#multihomefix
Fix error in MultiHome support
2015-10-21 19:06:07 +02:00
Lihis
45c887f090 Set TERM to "dumb" if TERM is not set
Set environment variable TERM to "dumb" if it is not set. This suppresses errors from "tput", which are shown in eg. "systemctl status arkmanager.service". The error which tput gives without TERM set is "tput: No value for $TERM and no -T specified".
2015-10-19 16:11:30 +03:00
Ben Peddell
a08d087b8c Change to the ark server root directory
This was implemented in 4d30f26, but was subsequently
eliminated in 1.2
2015-10-19 00:38:42 +10:00
Ben Peddell
9dc9b34eac Fix error in MultiHome support 2015-10-13 23:29:02 +10:00
Fez Vrasta
60ed29322b Merge pull request #232 from klightspeed/1.4-dev#fixes2
1.4 fixes
2015-10-13 14:44:38 +02:00
Ben Peddell
1b814b99d6 Add support for MultiHome setting 2015-10-13 11:45:10 +10:00
Ben Peddell
29b952eda1 Exit arkmanager after upgrade 2015-10-12 06:27:20 +10:00
Ben Peddell
1165dc1509 Update installer for new systemd scripts 2015-10-12 06:15:54 +10:00
Ben Peddell
aeafb3f5b9 Fix error with checkupdate when steam unreachable
Fixes: 0e6dfc2 (Don't report update available if steam unreachable)
2015-10-11 17:18:13 +10:00
Ben Peddell
0e6dfc2922 Don't report update available if steam unreachable 2015-10-09 06:39:45 +10:00
Ben Peddell
01edcab4a1 Remove mod id from from workshop acf on installmod 2015-10-09 06:39:45 +10:00
Ben Peddell
e2f8a3e9c5 Check Query port when determining if server is up 2015-10-09 06:39:45 +10:00
Fez Vrasta
9bc1f8e417 Merge pull request #224 from klightspeed/1.4-dev#upgradeconfig
Upgrade config file with new options on install
2015-10-08 19:19:16 +02:00
Fez Vrasta
51b5e5c6e7 Merge pull request #226 from klightspeed/1.4-dev#checkonline2
Query Steam API for server status
2015-10-08 16:47:40 +02:00
Ben Peddell
9cdd7e3939 Query Steam API for server status 2015-10-08 08:37:13 +10:00
Ben Peddell
b3c79ee964 Upgrade config file with new options on install
Adds new options and removes deprecated options from
ARK Server Tools configuration file
2015-10-07 19:21:46 +10:00
Ben Peddell
92c0af6f49 Add upstart tasks 2015-10-06 17:16:28 +10:00
Ben Peddell
e43e1e35cd Add multiple instance control for systemd 2015-10-06 17:16:28 +10:00
Ben Peddell
c97ed485f5 useconfig now does nothing when useconfig main is used 2015-10-06 17:16:28 +10:00
Ben Peddell
7b5d8b60f2 Add run command to arkmanager 2015-10-06 17:16:28 +10:00
Ben Peddell
1efb536c13 Fix hotfix detection; don't downgrade 2015-10-03 09:24:20 +10:00
Ben Peddell
23efbf8d0d Abort upgrade is arkstChannel is invalid 2015-10-01 08:29:11 +10:00
Fez Vrasta
523f1b0694 Merge pull request #206 from klightspeed/1.4-dev#modbranch
1.4 enhancements
2015-09-30 14:03:39 +02:00
Ben Peddell
e6c83245e4 Fix typo in install script 2015-09-30 19:35:45 +10:00
Ben Peddell
fa7649d92b Allow user to specify arkflag_log="" 2015-09-29 23:31:57 +10:00
Ben Peddell
d27eff2861 Log the command used to launch the server 2015-09-29 11:13:46 +10:00
Ben Peddell
17dd16a830 Add support for -opt=val options using arkopt_opt=val 2015-09-29 10:44:23 +10:00
Ben Peddell
167781e34f Allow non-anonymous steamcmd login 2015-09-29 10:44:23 +10:00
Ben Peddell
e4d42183e3 Default to Windows mod; record mod branch 2015-09-29 10:44:15 +10:00
Ben Peddell
14b82cc7eb Fix autorestart 2015-09-28 13:11:07 +10:00
Fez Vrasta
c7268432ad Merge pull request #195 from klightspeed/1.4-dev#fixinstall2
Put uninstaller script into libexec
2015-09-26 15:07:58 +02:00
Fez Vrasta
1ed472ac6d Merge pull request #197 from klightspeed/1.4-dev#fixmodupdate
Fix error in mod file update time comparison
2015-09-26 15:06:55 +02:00