mirror of
https://github.com/uprightbass360/AzerothCore-RealmMaster.git
synced 2026-02-03 02:43:50 +00:00
fix: server startup hardening
This commit is contained in:
13
config/systemd/docker.service.d/nfs-dependencies.conf
Normal file
13
config/systemd/docker.service.d/nfs-dependencies.conf
Normal 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
|
||||
Reference in New Issue
Block a user