mirror of
https://github.com/glauth/glauth.git
synced 2026-10-26 14:09:33 +00:00
6a3f96c04d
Includes a number of fixes and improvements: - Add 2 factor auth (thanks @ryskov) - Dockerfile imporvements - Removing repo cruft - Improving travis builds and integration tests - Fixing broken amazon s3 packages (thanks @ryskov) - Vastly improved version string - now autogenerates based on git status in the repo at the time of build - Starting on travis builds for releases (currently built on my workstation) - Starting framework for unit tests - Add codecov to CI
14 lines
287 B
Bash
Executable File
14 lines
287 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# Copy config file if it doesn't exist so that the app can start
|
|
if [ ! -f /app/config/config.cfg ] ; then
|
|
cp /app/docker/default-config.cfg /app/config/config.cfg;
|
|
fi
|
|
|
|
|
|
# Output version string to logs
|
|
/app/glauth --version
|
|
|
|
# Run app
|
|
/app/glauth -c /app/config/config.cfg
|