updates
This commit is contained in:
25
alpine/files/Install_Script.sh
Normal file
25
alpine/files/Install_Script.sh
Normal file
@@ -0,0 +1,25 @@
|
||||
#!/bin/bash
|
||||
# Copyright (c) 2018 fithwum
|
||||
# All rights reserved
|
||||
|
||||
# Variables.
|
||||
FVTT_VERSION=V9_Stable
|
||||
|
||||
echo " "
|
||||
echo "Current FoundryVTT Release version is ${FVTT_VERSION}."
|
||||
|
||||
sleep 1
|
||||
|
||||
# Set permissions.
|
||||
mkdir -p /foundry/fvtt /foundry/data
|
||||
chown 99:100 -R /foundry
|
||||
chmod 776 -R /foundry
|
||||
chmod +x /foundry/
|
||||
|
||||
# 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
|
||||
Reference in New Issue
Block a user