mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 20:17:54 +00:00
19 lines
475 B
Python
Executable File
19 lines
475 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
from pathlib import Path
|
|
|
|
if __name__ == "__main__":
|
|
# create folders with same UID/GID as user so containers have access
|
|
PATHS = [
|
|
"website/certbot",
|
|
"website/gitea/config",
|
|
"website/gitea/data",
|
|
"monerod/.bitmonero",
|
|
"p2pool/cache",
|
|
"minecraft/worlds",
|
|
"minecraft_bedrock/worlds",
|
|
"terraria/worlds",
|
|
]
|
|
for p in PATHS:
|
|
Path(p).mkdir(parents=True, exist_ok=True)
|