All checks were successful
Build and Push foundryvtt Docker Image / check-for-changes (push) Successful in 6s
Build and Push foundryvtt Docker Image / build (push) Successful in 24s
Build and Push foundryvtt Docker Image / generate-changelogs (push) Successful in 5s
Build and Push foundryvtt Docker Image / generate-build-info (push) Successful in 6s
25 lines
659 B
Bash
25 lines
659 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
|
|
# find /foundry \! -user 99 -exec chown 99 {} \;
|
|
# find /foundry \! -group 100 -exec chgrp 100 {} \;
|
|
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
|