634 Commits

Author SHA1 Message Date
Ben Peddell
d24c2f9308 timestamp is a command and not a variable 2023-04-15 03:10:22 +10:00
Ben Peddell
ef8f3322f3 Restart server if it double-forks
Processes that double-fork themselves by double-forking cannot be waited
upon, and cannot be properly monitored.

The ARK server will sometimes restart itself by performing a fork and
execve instead of just an execve (presumably because that is what it has
to do under Windows).

If the server restarts itself, then we need to restart it again so it
can be properly monitored.
2023-04-15 02:30:52 +10:00
Ben Peddell
312603597a
Fix potential missed steam login failure 2023-03-26 14:52:20 +10:00
Ben Peddell
3291858309 Fix restore path check for Cluster / SaveGames 2022-10-13 07:16:07 +10:00
Ben Peddell
5ca9446078 Add shellcheck 2022-08-10 01:07:58 +10:00
Ben Peddell
6e2c92549d Add option to include cluster files in backup 2022-08-09 18:01:26 +10:00
Ben Peddell
cd13f96e91 Move workshop dir update check 2022-08-09 17:41:00 +10:00
Ben Peddell
4f718d20d0 Add --skip-workshop-dir option to checkmodupdate 2022-08-09 17:35:12 +10:00
Christoph Neukirch
9fc935ab8d
fix missing | in arkmanager for #1215 2022-01-25 12:14:04 +01:00
Ben Peddell
aa02335efb
Move +force_install_dir to before +login
This should fix #1212
2022-01-09 15:34:24 +10:00
Ben Peddell
0aee12defc
Fix error in --arkopt,-optname
This should fix #1211
2022-01-06 09:21:05 +10:00
NTN Labs
5e548c6901
Update arkmanager
Typo
2021-12-20 21:26:41 +01:00
Ben Peddell
4e197555df
Fix instance selection in install-cronjob 2021-11-19 11:34:19 +10:00
Ben Peddell
804c37b304 Improve steamcmd directory autodetection 2021-08-06 21:50:10 +10:00
Ben Peddell
a5fb3dcb53 Copy map file case insensitively 2021-07-18 12:38:06 +10:00
Ben Peddell
062b8922ec
Remove bz2 extension from backup file when not compressed 2021-07-17 10:21:44 +10:00
Ben Peddell
178c54a688
Merge pull request #1191 from oltitov/master
fixed arkAutoUpdateOnStart => arkbackupcompress
2021-07-16 20:42:57 +10:00
Oleg Titov
eb4ab29a7e fixed arkAutoUpdateOnStart => arkbackupcompress 2021-07-16 13:18:52 +03:00
Ben Peddell
63b9d565c7
Fix lsof not being used when it is not at /usr/sbin/lsof 2021-07-15 08:20:15 +10:00
Oleg Titov
6393b07470 Enable/Disable backup compression 2021-07-12 00:10:17 +03:00
Ben Peddell
eafc078400
Create steamapps directory when installing
This should fix #1184
2021-06-10 21:52:00 +10:00
Ben Peddell
566161d5a4 Don't use realpath if path is already absolute 2021-03-14 06:38:04 +10:00
Ben Peddell
d6bbe867ea Fix issues when running with relative path 2021-03-14 06:27:14 +10:00
Ben Peddell
bfe8c15238 Fix inverted root check 2021-03-14 06:18:31 +10:00
Ben Peddell
7c86d40eff Add additional checks when running as root 2021-03-14 06:14:31 +10:00
Ben Peddell
86b22b4dea Add arkModCollections to add mod collections 2021-02-13 02:44:53 +10:00
Ben Peddell
5cda461841 Fix double-print in numPlayersConnected 2020-11-13 23:37:16 +10:00
Ben Peddell
a21496e39a Fix list-instances and @all not seeing all instances 2020-09-30 14:42:44 +10:00
Ben Peddell
2379dec3e7 Pass options to installmod et al 2020-09-29 21:20:11 +10:00
Ben Peddell
089e84cc81 Fix some inconsistent spacing 2020-09-29 19:50:10 +10:00
Ben Peddell
e52a97cc1c Add some additional cleanups from shellcheck 2020-09-29 19:44:23 +10:00
Ben Peddell
d606bf1d13 Add cleanups from PR 1139 2020-09-29 18:13:21 +10:00
Ben Peddell
e9afb36be2 Add arkCustomDynamicConfigURL option 2020-09-29 17:53:48 +10:00
Ben Peddell
292e5c9137
Warn when Mods directory is not writable 2020-08-17 01:12:13 +10:00
Ben Peddell
551fdb8e27 Update repo path
The ark-server-tools repo has been transferred to the arkmanager repo.
While the old URLs will still work, it is best if the new URLs are used.
2020-08-14 04:36:39 +10:00
Ben Peddell
ce9ef308f9 Output config warnings on stderr 2020-08-06 05:33:05 +10:00
Ben Peddell
dfeaf604a7 Add testconfig command 2020-08-06 05:30:50 +10:00
Ben Peddell
b4ac7a2eeb Fix line counting with listplayers 2020-08-01 12:04:37 +10:00
Ben Peddell
89e80dec96 Use rconcmd listplayers for online players with epic 2020-07-29 23:36:04 +10:00
Ben Peddell
b230c4f2f8
Add extra package manager overrides
Add arkstUsePkgManager to variables excluded from git blob hash calculation.
Add extra overrides for package managers or installers
Add comments for these settings
2020-07-16 19:44:59 +10:00
Chris Pritchard
f7757ff054
set default to blank rather than 0 2020-07-16 06:33:13 +01:00
Chris Pritchard
68238c0112
changed lsof back 2020-07-15 22:06:19 +01:00
Chris Pritchard
4a33d3f25e
added a arkstUsePkgManager variable and checks 2020-07-15 21:58:39 +01:00
Ben Peddell
fb1806c331
Fix arkNoPortDecrement when ark_Port not in instance config 2020-06-25 03:33:12 +10:00
Ben Peddell
f69ba15495 Add option to not decrement Port 2020-06-14 23:12:09 +10:00
Ben Peddell
8e5b78d665
Fix extra quotation mark 2020-06-14 00:28:14 +10:00
Ben Peddell
fa979793a5
Fix a couple of issues with restore
* Some variable expansions were unquoted
* *.arktribe etc. were missing
* tar status test was not detecting failures
2020-06-13 23:32:59 +10:00
Fabian Spottog
127a43eae5 add Restore option 2020-06-13 14:04:53 +02:00
Jason Parks
17e3b6492a Fix logdir permission warning 2020-05-15 12:28:30 -05:00
Ben Peddell
3b7709e17c
Fix typo with mod persistent storage
Directory is `SaveGames`, not `SavedGames`
2020-05-12 04:40:51 +10:00