fix: server startup hardening

This commit is contained in:
uprightbass360
2026-01-26 12:48:07 -05:00
parent 6a05fe785f
commit 56769e81d5
5 changed files with 126 additions and 9 deletions

View File

@@ -0,0 +1,13 @@
# AzerothCore RealmMaster - Docker NFS Dependencies
# Ensures Docker waits for NFS mounts before starting to prevent race conditions
# where containers create local directories before NFS mounts are ready
[Unit]
# Wait for NFS mounts to be active before starting Docker
After=nfs-azerothcore.mount nfs-containers.mount
# Require the primary backup NFS mount (critical for data integrity)
Requires=nfs-azerothcore.mount
# Prefer the containers NFS mount but don't fail if unavailable
Wants=nfs-containers.mount