mirror of
https://github.com/RWejlgaard/pez-infra.git
synced 2026-05-06 04:14:43 +00:00
* Grafana Cloud migration, adding dashboards, fleet, alloy and synthetics * modulize stuff now that we have multiple substantial things in here * provider updates and new secrets * remove grafana and prometheus from ansible
45 lines
1.6 KiB
Markdown
45 lines
1.6 KiB
Markdown
# Services
|
|
|
|
Version-controlled service definitions across the fleet.
|
|
|
|
## Directory Structure
|
|
|
|
```
|
|
services/
|
|
├── systemd/ # systemd unit files (Linux hosts)
|
|
│ ├── copenhagen-a/
|
|
│ │ ├── mangos-realmd.service # MaNGOS Zero realm server
|
|
│ │ └── mangos-world.service # MaNGOS Zero world server
|
|
│ └── helsinki-a/
|
|
│ ├── caddy.service # Caddy reverse proxy (stock unit)
|
|
│ └── thiswebsitedoesnotexist.service # Node.js app on port 3721
|
|
└── rc.d/ # FreeBSD rc.conf and rc.d scripts
|
|
└── london-a/
|
|
└── rc.conf # /etc/rc.conf — all enabled services
|
|
```
|
|
|
|
## Notes
|
|
|
|
### copenhagen-a (Linux)
|
|
|
|
| Service | Unit | Status | Notes |
|
|
|---------|------|--------|-------|
|
|
| MaNGOS realmd | `mangos-realmd.service` | enabled, custom | Realm server for WoW private server. Depends on MariaDB. |
|
|
| MaNGOS world | `mangos-world.service` | enabled, custom | World server. Depends on MariaDB and realmd. |
|
|
|
|
### helsinki-a (Linux)
|
|
|
|
| Service | Unit | Status | Notes |
|
|
|---------|------|--------|-------|
|
|
| Caddy | `caddy.service` | enabled, stock | Installed via package manager. Config at `/etc/caddy/Caddyfile`. |
|
|
| thiswebsitedoesnotexist | `thiswebsitedoesnotexist.service` | enabled, custom | Node.js app. Env vars in `/opt/thiswebsitedoesnotexist/.env`. |
|
|
|
|
### london-a (Linux)
|
|
|
|
No custom rc.d scripts — all services installed via `pkg`. The `rc.conf` captures all enabled services:
|
|
|
|
| Service | Unit | Notes |
|
|
|---------|-----------------|-------|
|
|
| libvirtd | `libvirtd.service` | Virtualisation daemon |
|
|
|
|
|