Xonotic Forums
curl_urls.txt update without restart - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: curl_urls.txt update without restart (/showthread.php?tid=7885)



curl_urls.txt update without restart - BuddyFriendGuy - 11-30-2018

I have the following as in my curl_urls.txt:

Code:
map_1.pk3 http://1.2.3.4/xonotic/maps_all/
map_2.pk3 http://1.2.3.4/xonotic/maps_all/
* http://dl.xonotic.co/

So basically I only host the maps unavailable on dl.xonotic.co, which has way better serving capacity than my machine.

When I want to add a map that's hosted on dl.xonotic.co, I do this:

1. Place the map file into the right folder
2. type fs_rescan in the console

However, if I want to add a map that's not available on dl.xonotic.co, I'll have to do the above, plus

3. add a line to curl_urls.txt
4. restart the server

Is there a way to have the server re-read curl_urls.txt without restarting it?


RE: curl_urls.txt update without restart - BuddyFriendGuy - 12-02-2018

Anyway, so far I'm solving this problem by configuring the file server to re-direct. Not an in-xonotic solution but it works for now.