Skip to content

Commit

Permalink
bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pcaskey committed May 8, 2020
1 parent 2d957c9 commit 6e29782
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
## Run the container directly:
docker run -d -p 443:443 -p 1812:1812/udp -p 1813:1813/udp tier/eduroam-freeradius:3.0-20200221

## Below are settings for thhe container and their default values, which can be overridden at run-time:
## Below are settings for the container and their default values, which can be overridden at run-time:
DB_LOCATION=local
DB_DRIVER=rlm_sql_mysql
DB_DIALECT=mysql
Expand Down
1 change: 1 addition & 0 deletions container_files/startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ sed -i '/password = \"radpass\"/s/^#*//g' /etc/raddb/mods-available/sql
sed -i 's/\"radpass\"/\"'${DB_USER_PWD}'\"/' /etc/raddb/mods-available/sql
sed -i 's/radius_db = \"radius\"/radius_db = \"'${DB_NAME}'\"/' /etc/raddb/mods-available/sql
sed -i 's/${dialect}/'${DB_DIALECT}'/' /etc/raddb/mods-available/sql
sed -i '/read_clients = yes/a \ read_clients = yes' /etc/raddb/mods-available/sql

#setup MariaDB, if desired
if [ ${DB_LOCATION} = "local" ]; then
Expand Down
2 changes: 1 addition & 1 deletion container_files/supervisord_with_db.conf
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ stderr_logfile_maxbytes=0
directory=/usr/local/bin

[program:radius]
command=/usr/sbin/radiusd -f
command=/usr/sbin/radiusd -f -X -l /tmp/custom_log.log
autostart=true
autorestart=true
stdout_logfile=/tmp/logradius
Expand Down

0 comments on commit 6e29782

Please sign in to comment.