635 Commits

Author SHA1 Message Date
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
Vincent Rouille
bfdc893cea Fix syntax error in doDownloadAllMods 2017-03-19 20:35:38 +01:00
Ben Peddell
3b8419f530 Add PID to status; add getpid command
Requested in #759
2017-03-10 08:25:57 +10:00
Ben Peddell
9f188a5ea1 FIx the path of txt files excluded from staging 2017-03-08 22:37:55 +10:00
Ben Peddell
7ee86da8c2 Silence an error from rm about non-existent files 2017-03-08 22:35:19 +10:00
Ben Peddell
a6e9abce91 Don't use hardlinks if using separate filesystems 2017-03-08 07:45:38 +10:00
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
0b741f45dc Fix instance config template installation
The `arkServerRoot` was not being updated to the desired path in `instance.cfg.example`.  Fix this.
2017-02-16 10:07:02 +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
AnEmortalKid
06929b9218 adding bash_completion for servers 2017-01-03 23:10:45 -06: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