deploy: version systemd runtime setup

This commit is contained in:
server
2026-04-14 06:36:37 +02:00
parent 51da064667
commit 3965c828eb
10 changed files with 371 additions and 1 deletions

View File

@@ -51,6 +51,26 @@ This tutorial will be showing how to install in both FreeBSD and Windows environ
<br>
## Debian (systemd)
For the Debian runtime used in production, the repository now also contains versioned `systemd` deployment files under [deploy/systemd](deploy/systemd/README.md).
Example installation:
```bash
python3 deploy/systemd/install_systemd.py \
--user mt2.jakubkadlec.dev \
--group mt2.jakubkadlec.dev \
--runtime-root /home/mt2.jakubkadlec.dev/metin/runtime/server \
--channel 1 \
--channel 99 \
--restart
```
This installs the stack units, direct game/db launch helpers and a DB readiness gate so `auth` and `game` do not start before the DB socket is listening.
<br>
## ![FreeBSD](https://metin2.download/picture/36rMX2LFRT3U8qlPNQ81nsPZ7F4yg4c3/.png) **FreeBSD**
### ⬇️ Obtaining the Serverfiles
@@ -773,4 +793,4 @@ After finishing this part, you should now have knowledge of:
## Next steps
After following either the **FreeBSD** method or the **Windows** method, you should be ready to proceed to cloning, building and distributing the [Client Source project](https://github.com/d1str4ught/m2dev-client-src)
**NEW**: We are now on Discord, feel free to [check us out](https://discord.gg/ETnBChu2Ca)!
**NEW**: We are now on Discord, feel free to [check us out](https://discord.gg/ETnBChu2Ca)!