440 Commits

Author SHA1 Message Date
Ben Peddell
8c05d7bf1e Touch app manifest on update
Touch the app manifest on update in order to force other instances to restart when an update is run.
2016-09-09 13:17:43 +10:00
Ben Peddell
3dc8ef100e Restart the server if it was updated while running 2016-09-09 04:25:26 +10:00
Ben Peddell
0c2bb68b2e Fix double-start when auto-update is enabled 2016-09-07 05:32:11 +10:00
Ben Peddell
c0c56ab687 Fix interaction between update and start 2016-08-30 14:41:02 +10:00
Ben Peddell
05e8511e22 Fix interaction between start and update 2016-08-29 20:58:49 +10:00
Ben Peddell
653006a66c Prevent server start during update 2016-08-21 22:28:43 +10:00
Ben Peddell
8a59a8c78c Exclude Primitive+ from mod download and extraction 2016-07-31 17:37:08 +10:00
Ben Peddell
89f765eb7b Bypass Primitive+ modid 2016-07-30 03:36:33 +10:00
Ben Peddell
7de6c8ed24 Create the saved arks directory if it doesn't exist 2016-07-10 18:44:49 +10:00
Ben Peddell
7fbb47ad5c Add RemainAfterExit=yes to arkmanager.service 2016-07-09 17:13:48 +10:00
Ben Peddell
8dda5784f1 Change systemd service type to forking 2016-07-09 17:13:41 +10:00
Ben Peddell
9382c43b5b Fix --stagingdir= parameter 2016-07-09 17:13:24 +10:00
Ben Peddell
273879aa23 Fix update --force with arkStagingDir 2016-07-09 17:12:48 +10:00
Ben Peddell
92923df0eb " \n " added to empty response message
Server response when a command returns no response is
"Server received, But no response!! \n "
2016-07-09 17:11:34 +10:00
Ben Peddell
9b714824f5 Fix an inconsistency between install.sh and arkmanager.init 2016-07-09 17:10:09 +10:00
Ben Peddell
1ea02d9f1f Fix a couple of potential issues with player count checking 2016-07-09 17:09:24 +10:00
Ben Peddell
46e468d941 Return -1 from numplayers if server unreachable 2016-07-09 17:09:09 +10:00
Ben Peddell
2c877336d7 Use serverMapModId to set map name and MapModID option 2016-07-09 17:08:53 +10:00
Ben Peddell
ed9d38207e Merge pull request #418 from klightspeed/fix-653e934
Fix typo when comparing strings - should fix #417
2016-02-21 01:44:53 +10:00
Ben Peddell
fdc7bffb6b Fix logic error in configfile test 2016-02-20 22:39:12 +10:00
Ben Peddell
af216eee99 Fix typo when comparing strings
Perl uses `eq` to compare strings, not `==`.

Fixes 653e934268c876ac17bafa31998b9bb67c44abb6 Replace empty server
response with "Command processed"
2016-02-20 21:38:15 +10:00
Ben Peddell
3b2f1e7a30 Fix typo in useConfig
Fixes: e48bd5b830a16fc5f30deb19a880b9443705259b Add configfile name to
list-instances
2016-02-19 09:10:52 +10:00
Ben Peddell
e48bd5b830 Add configfile name to list-instances 2016-02-19 04:46:11 +10:00
Fez Vrasta
0494e73603 Merge pull request #410 from klightspeed/1.5#rconresponse
Replace empty server response with "Command processed"
2016-02-18 09:25:58 +01:00
Ben Peddell
653e934268 Replace empty server response with "Command processed"
Replaces the "Server received, But no response!!" return
from an RCON command with "Command processed".
2016-02-18 06:31:33 +10:00
Ben Peddell
910a57ff8c Fix typo in install script
Fixes: 61446ab88c986da27694b14a3192aa53b37cd152 Add CONFIGFILE and
INSTANCEDIR variables in install.sh
2016-02-18 03:10:33 +10:00
Fez Vrasta
d9f08f637c Merge pull request #406 from klightspeed/1.5#printinstalling
Print "Installing ARK server" in doInstall
2016-02-17 17:33:43 +01:00
Ben Peddell
a205b4c81e Make "main" instance default in new installs 2016-02-18 01:36:28 +10:00
Ben Peddell
5ad361a2df Print "Installing ARK server" in doInstall 2016-02-18 01:16:22 +10:00
Ben Peddell
cbcf73ff68 Add uninstallmod and reinstallmod 2016-02-16 13:47:06 +10:00
Ben Peddell
65c9233bc6 Default to displaying dots when stdout is not a terminal 2016-02-09 22:16:46 +10:00
Ben Peddell
c1a1dc7a1a Add dots progress output 2016-02-09 22:06:16 +10:00
Ben Peddell
a8e95f9011 Fix mod updating re-downloading mod
Give up on trying to prevent steamcmd from updating
every other workshop item it has downloaded.  Instead,
give it a certain number of retries, and check if the
app's workshop downloads directory exists.
2016-02-09 07:06:05 +10:00
Fez Vrasta
c1927e4feb Merge pull request #386 from klightspeed/1.5-dev#fix-9c3597-acf
Fix the path to appworkshop_appid.acf
2016-02-05 19:41:03 +01:00
Ben Peddell
21fb357f41 Warn of known issues when mod_branch=Linux 2016-02-06 04:07:33 +10:00
Ben Peddell
30ac0c3a22 Fix the path to appworkshop_appid.acf
Fixes: 9c35974 Improve mod update behaviour
2016-02-06 03:29:28 +10:00
Ben Peddell
40bd3e80a9 Remove files that have been removed in mods 2016-02-06 01:43:16 +10:00
Fez Vrasta
565189eefc Merge pull request #381 from klightspeed/1.5-dev#steamcmdstatus
Improve mod update behaviour
2016-02-03 12:33:52 +01:00
Ben Peddell
1862ccd15f Add spinner and verbose support 2016-02-03 21:29:54 +10:00
Ben Peddell
9c35974678 Improve mod update behaviour 2016-02-03 20:45:01 +10:00
Ben Peddell
fbd75687da Have systemd (and upstart) run the script as the user 2016-02-02 04:02:21 +10:00
Fez Vrasta
e560db7914 Merge pull request #372 from FezVrasta/master
Merge fixes from master into 1.5-dev
2016-01-29 14:23:22 +01:00
Ben Peddell
425e4f07f9 Fix typo in staging directory based file removal
Fixes: 74fe4c9 Remove files removed by Steam update
2016-01-29 22:54:25 +10:00
Ben Peddell
58458a852d Fix typo in non-installed mod check
Fixes: d37176a Warn when a mod is requested but not installed
2016-01-29 21:37:46 +10:00
Fez Vrasta
ac807bf74b Merge pull request #364 from klightspeed/1.5-dev#autoupdate
Add option to automatically update on startup
2016-01-28 12:20:00 +01:00
Fez Vrasta
fc1826805a Merge pull request #370 from klightspeed/1.5-dev#warnmod
Warn when a mod is requested but not installed
2016-01-28 10:06:47 +01:00
Ben Peddell
1d3827a876 Remove unused 'servicename' variable 2016-01-28 18:05:50 +10:00
Ben Peddell
d37176adbb Warn when a mod is requested but not installed 2016-01-28 18:00:44 +10:00
Fez Vrasta
6f861ce482 fixes #323 2016-01-27 23:38:58 +01:00
Fez Vrasta
7786ad884e Merge pull request #363 from klightspeed/1.5-dev#issue-358
Change message after server is started
2016-01-22 10:37:09 +01:00