Go to file
Quentin Legot 289018a0cd Update modpack to last version
Signed-off-by: Quentin Legot <legotquentin@gmail.com>
2024-03-14 22:37:16 +01:00
launcher.json Update modpack to last version 2024-03-14 22:37:16 +01:00
README.md Fix systemd service and updated README 2023-09-30 16:25:44 +02:00
server.json Update modpack to last version 2024-03-14 22:37:16 +01:00

Launcher_json

Location of the launcher json needed for the launcher

Contains the file itself and an application which retrieve the latest version of the file on the master branch at each request

The application

The application retrieve the latest version of the file on the git server at each user request

Building the app

To build the app, simply type in yout terminal:

docker build -t launcher_json .

To run it, type:

docker run -p PORT:8080 -d --rm --name launcher_json

Replace PORT by the value you want to expose your app

Systemd service

The repository contain a systemd service file launcher_json.service to place in /etc/systemd/system folder, then create the launcher user:

adduser launcher --disabled-password --disabled-login --no-create-home and usermod -a -G docker launcher

Then activate the service using:

systemctl enable --now launcher_json

Remember to build the application first !