games:quake:setup_a_local_quakejs_server:create_a_quakejs_service
This is an old revision of the document!
Table of Contents
Games - Quake - Setup a local QuakeJS server - Create a QuakeJS service
Install daemonize
Used in the init.d script.
sudo apt install daemonize
Create the Service Script
Copy the service script to where it goes:
sudo cp /home/quake/quakejs/init.d/quakejs /etc/init.d/quakejs
Enable the Service Script
sudo update-rc.d quakejs defaults
Test
sudo systemctl start quakejs
systemctl status quakejs
NOTE: Now try to connect to the server.
- Check the status:
systemctl status quakejs
Complete
Whenever your quakejs server boots up it will automatically start the quakejs game server and Apache2 webserver.
When a computer on your LAN visits http://quakejs/ they'll automatically download the files they need from http://quakejs/assets/ and then connect to the QuakeJS server at quakejs:27960.
Have people point their browsers to http://quakejs/ and enjoy.
games/quake/setup_a_local_quakejs_server/create_a_quakejs_service.1625484863.txt.gz · Last modified: 2021/07/05 11:34 by peter