thunderhub/scripts/initCookie.sh

13 lines
283 B
Bash
Raw Normal View History

2020-06-11 07:50:49 +02:00
#!/bin/sh
FILE=$1
echo "Creating cookie file for SSO authentication at" $FILE
mkdir -p "${FILE%/*}"
echo "86AOqw7OfLeBKn0VlOuH5V0E51Qxy9BoXQ8qMDql901mc5GuXvdVRogWrZkuH2nRel5FA9H2Ie4rTLDO" > "$FILE"
echo "Cookie file created."
echo "Starting ThunderHub server..."
npm run start