483 Commits

Author SHA1 Message Date
Ben Peddell
e6a61ba415 Add --arkopt,<option> command-line option
Use `--arkopt,-optname=optval` or `--arkopt,-optname` for dash options.
Use `--arkopt,optname=optval` for options in the server options string.
2017-03-01 13:13:00 +10:00
Ben Peddell
8d32343cc7 Fix enablemod and disablemod 2017-02-23 05:54:17 +10:00
Ben Peddell
aa6291c055 Fix the mod install hardlink error properly 2017-02-21 04:38:58 +10:00
Ben Peddell
d50c1a811d Fix hardlink error when installing mod 2017-02-20 18:06:32 +10:00
Ben Peddell
98a9463daf Move map finding to functions; fix update --safe 2017-02-15 19:36:12 +10:00
Ben Peddell
a59c01c9b7 Add support for reflinks on btrfs 2017-02-15 06:07:17 +10:00
Ben Peddell
ccf03c2c92 Add support for staging mods 2017-02-15 05:56:33 +10:00
Ben Peddell
2ea3a5fc93 Replace tabs with spaces 2017-02-15 05:40:20 +10:00
Ben Peddell
b0b10c804f Remove existing Binaries/Linux/*.txt files from staging 2017-02-15 05:29:35 +10:00
Ben Peddell
3404df7890 Exclude ShooterGame/Binaries/Linux/*.txt from staging 2017-02-15 05:21:22 +10:00
Ben Peddell
335e75f106 Get rid of the old server path PID checking
This may have been causing the server to fail to restart after an update.
2017-02-14 10:20:30 +10:00
Ben Peddell
7cc3249e2c Don't reset mods unless requested 2017-01-15 18:52:42 +10:00
Ben Peddell
8c04aa19a2 Add timestamp and instance to arkserver.log logging 2017-01-12 08:36:17 +10:00
Ben Peddell
84a0768b6b Avoid useless warnings during install 2017-01-10 12:34:12 +10:00
Ben Peddell
a51dcdc35b Continue downloading mods if one fails 2016-12-15 19:11:44 +11:00
Ben Peddell
37db49f6f5 Add timestamp and instance name to arkserver.log log entries 2016-12-13 15:06:20 +11:00
Ben Peddell
db592eeb40 Add instance name to arkmanager.log log entries 2016-12-13 15:02:54 +11:00
Ben Peddell
0a1d808905 Fix typo of getServerPID in doRun 2016-12-12 01:57:24 +10:00
Ben Peddell
481b393017 Output detected Saved Arks directory and world file name 2016-12-11 15:57:25 +10:00
Ben Peddell
77c6616179 Improve update logging a little bit 2016-12-07 17:03:33 +10:00
Ben Peddell
567f899725 Check if depot manifests have changed 2016-11-29 16:01:29 +10:00
Ben Peddell
6f244a02fa Fix failure when using --nodownload 2016-11-29 07:30:04 +10:00
Ben Peddell
a5d3fd72c2 Fix failure when not using staging dir 2016-11-29 07:28:00 +10:00
Ben Peddell
5222c5d6c7 Ignore unchanging version with --validate 2016-11-29 07:23:21 +10:00
Ben Peddell
256d59e1b2 Warn when update has failed when using --force 2016-11-29 07:20:10 +10:00
Ben Peddell
e2d6a44a98 Don't check version when using --force 2016-11-29 07:13:59 +10:00
Ben Peddell
04185bee4c Fix get*Version; check if staging dir was updated 2016-11-29 02:53:13 +10:00
Ben Peddell
d7d6f3e5a5 Fix wrong PID being written to log file 2016-11-29 02:36:30 +10:00
Ben Peddell
b8c64830bb Don't load user-instance if older than global-instance
Too many people have performed a user-install and then opened a ticket wondering why their settings in /etc/arkmanager/instances/main.cfg won't apply.  Avoid this by not loading the instance.cfg in ~/.config/arkmanager/instances if it's older than the instance.cfg in /etc/arkmanager/instances
2016-11-13 10:05:46 +10:00
Ben Peddell
241b35a8f5 Exclude Primitive+ from mods returned by getModIds
Requested in #657
2016-11-07 06:10:26 +10:00
Ben Peddell
385a909153 Fix typo in isUpdateCancelRequested 2016-10-30 23:31:30 +10:00
Ben Peddell
c9c385deb7 Add prelogin and postlogin custom steamcmd commands 2016-10-24 13:11:50 +10:00
Ben Peddell
772398ffc0 Check if lsof exists before using it 2016-10-23 14:13:55 +10:00
Ben Peddell
653f9a5cd0 Use arkSingleInstance to skip multi-instance 2016-10-18 09:30:05 +10:00
Ben Peddell
d50fdd1b33 Fix last commit - only take recent failures 2016-10-08 18:38:36 +10:00
Ben Peddell
fe1594bcd0 Remove failing workshop items when downloading mods 2016-10-08 18:35:54 +10:00
Ben Peddell
bfd3c0e4f5 taskset uses non-standard option processing 2016-10-07 04:41:14 +10:00
Ben Peddell
1a32ac0012 sudo not needed to set CPU affinity on our own processes 2016-10-04 04:26:03 +10:00
Ben Peddell
5405c642d9 Work around SIGSTOP not notifying the parent 2016-10-04 04:17:53 +10:00
Ben Peddell
fc4d6442be Allow single cronjob to execute command on multiple instances 2016-10-03 16:31:14 +10:00
Ben Peddell
4a2699bf2e Fix a couple of errors in isModUpdateAvailable 2016-10-03 02:03:21 +10:00
Ben Peddell
60465a178a Add arkCpuAffinity setting 2016-10-02 12:25:23 +10:00
Ben Peddell
2bc099f1a3 Fix RCON authentication failed test 2016-10-01 07:48:58 +10:00
Ben Peddell
461729259c Silence errors killing arkmanager process 2016-10-01 07:22:19 +10:00
Ben Peddell
ec5151e31c Download SteamCMD if necessary 2016-10-01 06:39:12 +10:00
Ben Peddell
b6c41ca5e2 Restart the server if it stops listening 2016-09-29 22:54:00 +10:00
Ben Peddell
0a02cc2e6a Add environment variable support when upgrading 2016-09-28 18:38:22 +10:00
Ben Peddell
94908f6986 Use sudo if necessary when installing from commit 2016-09-28 18:25:23 +10:00
Ben Peddell
f4a3cfd97d Fix channel not found test 2016-09-28 07:34:33 +10:00
Ben Peddell
95fe90b15f Disable version.txt support
It looks like `version.txt` might have been an accident.
2016-09-27 21:22:29 +10:00