mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-06-11 01:40:49 -05:00
14 lines
406 B
Bash
14 lines
406 B
Bash
#!/bin/sh
|
|
|
|
# this doesnt check game server specific certs, only static file paths
|
|
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
|
|
echo "$PWD/$file file does not exist. Please mount and try again."
|
|
exit 1
|
|
fi
|
|
done
|
|
|
|
exec node src/server.js
|