626 Commits

Author SHA1 Message Date
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
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