Commit Graph

17 Commits

Author SHA1 Message Date
Tim Angus
3470a1d26a Reorganise misc directory 2025-11-11 13:46:14 +00:00
Jack Slater
45788d29a3 Updated for DCMAKE_INSTALL_PREFIX as a replacement for copyfiles 2025-08-31 17:49:13 -10:00
Jack Slater
7fd46c86c4 Need a replacement for cmake copyfiles here in server_compile.sh 2025-08-31 01:03:32 -10:00
Jack Slater
72d9dbb3b0 First attempt at updating server_compile.sh for CMake
for https://github.com/ioquake/ioq3/issues/786
2025-08-31 00:53:01 -10:00
Jack Slater
da54c67fd0
Update start_server.sh for archless ioq3ded 2025-08-30 21:36:27 -10:00
Jack Slater
86a9b410cb
q3a.service to use new non-arch specific binary & URL fix 2025-08-30 20:24:46 -10:00
Tim Angus
1cbba07fc3 Add abstract frontend to HTTP support and stop using curl on Windows 2025-07-22 14:57:01 +01:00
Zack Middleton
ad10e6610c Changes to systemd q3a.service
Use an absolute path as required by systemd. Distro packages will need
to change it. (Reported by @andreyv and @zeroxfourc.)
Link to server documentation on the wiki instead of maintaining a subset
in the service file.
2018-02-04 07:51:17 -06:00
Matt Palmer
14cb72f912 Improvements to the linux build script
In no particular order:

* Use `set -e`, because it prevents accidents, and means we can avoid
  lengthy &&-joined command chains.
* Override defaults by setting env vars; this means people don't have to
  edit the script to change things.
* Use an unpredictable and safely-created tmpdir for building; ain't nobody
  wants to cleanup from a tmpdir race condition attack.
* Test for the presence of `git` and `make` *before* asking questions, and
  only prompt the user about them if they're missing.  No need to bother
  people with unnecessary reading.
* Automatically clean up the build directory after use.
* Tidy up some indenting that had come asunder.
2017-11-21 23:07:54 -06:00
Zack Middleton
67dace6c20 Escape quotes for sv_dlURL in shell so it doesn't become "http:"
q3ded +set sv_dlURL "http://example.org"

The shell removes the quotes but makes the content be a single argument
for progam args. Quake 3 concatenates all the program args and splits
lines at + or newlines. Then Quake 3 parses them using a tokenizer
that skips unquoted C comments beginning with //. This results in
the cvar being set to "http:".

Escape the quotes so they are passed to the program and the tokenizer
knows not to skip C comments.

    q3ded +set sv_dlURL \"http://example.org\"
2017-07-20 23:24:52 -05:00
Zachary J. Slater
f47aaa2a61 Minor URL change. 2016-08-07 23:53:38 -10:00
Zack Middleton
80357ff1f2 Remove incorrect documentation from q3a.service
rate, snaps, and cl_maxpackets cvars only affect client.
2016-04-04 12:19:17 -05:00
Zachary J. Slater
e0b58abf53 Don't quote me. 2015-09-24 11:26:10 -07:00
Zachary J. Slater
45162a395f Fixed the os x path and now both scripts will take arguments 2015-09-24 11:21:18 -07:00
Zack Middleton
e79af0d1a0 Fix server_compile.sh to exit after completed
Also, convert '\n's to real new lines because the literal '\n's were
printed.
2015-07-06 21:25:06 -05:00
Zachary J. Slater
2758eebbcc server_compile.sh & start_server.sh for Linux ioq3 sysadmins
If your distribution doesn’t include such niceties, these could help a
newbie get started with a compiled build of ioquake3 for servers and a
short script to get started.
2015-07-06 17:14:34 -07:00
Zachary J. Slater
bb64bd7be0 Moved the systemd to /misc/linux 2014-08-27 18:10:27 -07:00