660 Commits

Author SHA1 Message Date
Ben Peddell
848dcf6c2f Fix potential update failure when no depots installed 2018-02-12 20:08:29 +10:00
Ben Peddell
adae5f580c Fix manifest check 2018-02-12 20:01:12 +10:00
Ben Peddell
2f4f182de6 Remove unnecessary +quit 2018-02-12 19:45:36 +10:00
Ben Peddell
6ba117dc9d Source cfg in printconfig if readable 2018-01-19 18:50:04 +10:00
David Hulth
0981b760d0 Add instance name to backup filename 2018-01-08 10:42:24 +01:00
Ben Peddell
512194082d Fix typo 2018-01-06 12:06:56 +10:00
Ben Peddell
371da71c03
Be more verbose about ARK backup failures 2018-01-04 12:39:06 +11:00
Ben Peddell
95ac5a61e1 Use time_updated instead of hcontent_file 2017-12-22 05:20:21 +10:00
Ben Peddell
0e175b2fa3 Disable mod availability check 2017-12-21 01:42:25 +10:00
Ben Peddell
9a854fbb94 Output message when insufficient disk space detected 2017-12-17 02:45:27 +10:00
Ben Peddell
24e9e2954d Attempt to determine steam workshop dir 2017-12-17 02:21:52 +10:00
Ben Peddell
fcdbe681a5
Add output when all mods are up to date 2017-11-08 05:55:39 +10:00
Ben Peddell
51dc321f6a Add --beta option to documentation 2017-11-03 22:21:44 +10:00
Ben Peddell
e9a0d2d432 Fix beta detection / selection 2017-11-03 22:10:23 +10:00
Ben Peddell
cbec220639 Read current beta / branch from app manifest 2017-11-03 22:01:17 +10:00
Ben Peddell
a6089466d2 Add --beta option to update 2017-11-03 21:50:09 +10:00
Ben Peddell
6da2c49f6d Fix getMultiHome 2017-11-03 18:41:26 +10:00
Ben Peddell
d5a14c74a8 Add appbranch setting
Use `appbranch=halloween` for example to have
updates check the `halloween` branch instead of
the `public` branch.
2017-10-31 22:45:38 +10:00
Ben Peddell
40f33e2c51
Add steamcmd_appextraopts setting
Use e.g. `steamcmd_appextraopts="-beta xxx -betapassword yyy"`
2017-10-31 12:12:19 +10:00
Ben Peddell
47245a3363 Only override serverMap if default or empty 2017-10-06 06:03:44 +10:00
Ben Peddell
e3c09312e4 Fix incorrect whitespace 2017-09-18 15:36:34 +10:00
Ben Peddell
c6fac2f520 Look for MultiHome option case-insensitive 2017-09-17 17:42:50 +10:00
Ben Peddell
e6db41d747 Separate --safe from other update types 2017-09-05 08:00:50 +10:00
Ben Peddell
d21a4e004e Add list-mods command 2017-08-26 22:29:19 +10:00
Ben Peddell
55e0e9fa16 Enable sourcing script on commandline 2017-08-26 14:20:21 +10:00
Ben Peddell
19f47f244b Add arkserverdir setting
On servers other than the ARK server, this should be set
to the base directory name (e.g. Citadel for the Citadel server)
2017-08-17 01:17:19 +10:00
Ben Peddell
4ec1152291 Allow setting a shell for steamcmd_user 2017-07-28 08:01:17 +10:00
Ben Peddell
dc0838dc97 Add --revstatus option to checkmodupdate
Use --revstatus to reverse the return status, and provide
extra codes for errors:
* 0 = no updates available
* 1 = an update is available
* 2 = one or more mods don't exist on the workshop
* 3 = appworkshop_xxx.acf is missing
* 4 = SteamCMD workshop dir doesn't exist
2017-07-26 20:35:44 +10:00
Ben Peddell
3975d3b6c4 Update usage 2017-07-26 20:26:33 +10:00
Ben Peddell
96aec9d715 Add option to ignore installed mods 2017-07-24 08:03:01 +10:00
Ben Peddell
990d568151 Switch to http when querying api.ipify.com 2017-07-09 16:05:11 +10:00
Ben Peddell
46a157d0dc Remove incorrect quoting in installmod and uninstallmod 2017-06-30 19:34:56 +10:00
Ben Peddell
1c7a3d8180 Fix typo causing incorrect mod update detection 2017-06-29 23:08:53 +10:00
Ben Peddell
921c51aef2 Fix typo in d0d89f6 2017-06-29 22:37:52 +10:00
Ben Peddell
d0d89f631d Add steamworkshopdir setting
Some steamcmd installs use `SteamApps` instead of `steamapps` in its data directory.
2017-06-29 22:06:41 +10:00
Ben Peddell
1affcf3576 Fix incorrect exit due to uninit status 2017-06-28 09:13:34 +10:00
Ben Peddell
311ccc8421 Print mod status in checkForModUpdate 2017-06-27 17:14:41 +10:00
Ben Peddell
8a3b88ac0b Notify user when steamcmd login is required 2017-06-24 21:02:04 +10:00
Ben Peddell
586a688a0c Add checkmodupdate command 2017-06-19 17:36:04 +10:00
Ben Peddell
23a58e953d Fix start/restart not closing stdout 2017-06-17 14:20:40 +10:00
Ben Peddell
35e28823a6 Fix wait intervals 2017-06-15 19:58:04 +10:00
Ben Peddell
d0265ebfe8 Fix warning waits for intervals of 1 or 2 minutes 2017-06-15 08:51:13 +10:00
Ben Peddell
9a770e6143 Make steam data directory overridable
Some steamcmd installs put steamapps into ~/.steam
instead of $steamcmdroot
2017-06-08 01:03:08 +10:00
Ben Peddell
40ef0b2c7e Use dedicated update timestamp file 2017-06-08 00:56:38 +10:00
Ben Peddell
734e71de78 Use pidfile for background update detection 2017-06-07 19:25:21 +10:00
Benjamin Börngen-Schmidt
1c1fb707e2 Reliable user id detection
id -u returns the effective user id
2017-05-31 13:58:17 +02:00
Ben Peddell
c7a4337a0b Use start --no-background in upstart service 2017-05-11 19:38:22 +10:00
Ben Peddell
ea1e2834b2 Use start --no-background in systemd service 2017-05-11 19:37:32 +10:00
Ben Peddell
1515156a12 Add --no-background option to start command 2017-05-11 19:36:19 +10:00
Ben Peddell
f4aad61192 Prevent directory not found error on mod install 2017-05-05 21:41:05 +10:00