JO Server Admin 1.0.0-beta.1 for Linux
======================================

The same tool as the Windows version, for a Joint Operations server that runs
under Wine on Linux (64-bit). See README.txt for what every tab does.

Made by *HmS*NoN for the HardMaps community.
Beta feedback: https://hardmaps.com/forum/viewtopic.php?t=21 or hardmaps.website@gmail.com


INSTALL
-------
1. Unpack the zip, for example to ~/jsa-install.
2. In a terminal:   bash ~/jsa-install/install.sh
   It copies the program to ~/jo-server-admin, makes it a background service
   (jo-server-admin) that starts with the computer, and stops the older
   homeserver page (jo-admin) if it runs. Its files stay where they are.
3. Finish the setup in a browser ON THE SERVER ITSELF (for example in your
   Remote Desktop session): http://localhost:8787
   Your rotation list (~/jo-rotatie.txt) and repeated messages of the older
   page are taken over automatically.
4. Afterwards, open it from any device on your home network:
   http://<server address>:8787


STARTING THE GAME
-----------------
"Start server" runs ~/jo-start.sh when it exists, otherwise
"wine JointOps.exe /w /serveonly" in the game folder (with ~/.wine-jo as Wine
prefix when that folder exists). The game needs a desktop, so log in through
Remote Desktop once after a reboot. "Stop server" runs ~/jo-stop.sh when it
exists, otherwise it ends the game processes.


USEFUL COMMANDS
---------------
  systemctl --user status jo-server-admin      is it running?
  systemctl --user restart jo-server-admin     restart the page
  journalctl --user -u jo-server-admin -n 50   last messages
Settings and player stats are in ~/.config/jo-server-admin.


UPDATE
------
Unpack the new zip and run install.sh again. Settings and stats stay.


BACK TO THE OLD PAGE
--------------------
  systemctl --user disable --now jo-server-admin
  systemctl --user enable --now jo-admin
