update entrypoint with proper file checking

This commit is contained in:
mrjvs
2022-05-09 13:08:18 +02:00
parent 81dbe2af1e
commit e5de5d4a70

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# this doesnt check game server specific certs, only static file paths
files='config.json certs/nex/datastore/secret.key certs/nex/secret.key certs/nex/public.pem certs/access/secret.key certs/access/aes.key certs/access/public.pem'
files='config.json certs/nex/datastore/secret.key certs/access/secret.key certs/access/aes.key certs/access/private.pem certs/access/public.pem'
for file in $files; do
if [ ! -f $file ]; then