mirror of
https://github.com/YunoHost-Apps/veloren_ynh.git
synced 2024-09-03 17:46:10 +02:00
Add asset dir env during custom world generation
This commit is contained in:
parent
d037ef2d6c
commit
f6ad97390a
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ function generate_custom_world {
|
|||
add_configuration_files
|
||||
|
||||
pushd "$data_path"
|
||||
grep -q "Server is ready to accept connections." <((sudo -u $app "$final_path/target/release/veloren-server-cli" --basic & echo $! >&3 ) 3>pid)
|
||||
grep -q "Server is ready to accept connections." <((sudo -u $app "VELOREN_ASSETS=\"$final_path/assets\" $final_path/target/release/veloren-server-cli" --basic & echo $! >&3 ) 3>pid)
|
||||
kill "$(<pid)"
|
||||
fuser $port/tcp -k
|
||||
popd
|
||||
|
|
Loading…
Add table
Reference in a new issue