mirror of
https://github.com/glauth/glauth.git
synced 2026-10-26 22:16:59 +00:00
32a13ec85a
Fixes a few minor issues: #42 - now uses the makefile in the docker build, which means version info is correctly embedded at runtime - also now outputs version data at the top of the log when the container starts Fixing a simple issue found by go vet. Need to do more work on fixing issues found in go vet.
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
|