Files
foundryvtt/alpine/files/Install_Script.sh
fithwum 3b82b2ce25
All checks were successful
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 9s
Build and Push foundryvtt Docker Image / build (push) Successful in 23s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 5s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 5s
update
2026-04-29 07:47:11 -07:00

27 lines
707 B
Bash

#!/bin/bash
# Copyright (c) 2018 fithwum
# All rights reserved
# Variables.
FVTT_VERSION=14
echo " "
echo "Current FoundryVTT Release version is ${FVTT_VERSION}."
# Set permissions.
mkdir -p /foundry/fvtt /foundry/data
# chown 99:100 -R /foundry
# find /foundry ! -user 99 -exec chown 99 {} \;
# find /foundry ! -group 100 -exec chgrp 100 {} \;
# chmod 776 -R /foundry
find /foundry ! -perm 776 -exec chmod 776 {} \;
chmod +x /foundry/fvtt/resources/app/main.js
# Run.
echo "INFO ! Starting FoundryVTT Server"
echo " "
# exec node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data
su foundry -c 'node /foundry/fvtt/resources/app/main.js --dataPath=/foundry/data --ignore-gpu-blacklist'
exit