Skip to content

Commit

Permalink
Tarefa #22 Implementar memcache arquivo de configurações
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardoapaes committed Apr 29, 2021
1 parent 4e3fd31 commit 6e99b7f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sh/configure-db-ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,9 @@ fi

if [ -n "$SOCKET_HOST" ]; then
crudini --set ${1} socket host ${SOCKET_HOST};
fi

if [ -n "$MEMCACHE_HOST" ]; then
crudini --set ${1} session tipo memcache;
crudini --set ${1} session dsnMemcache memcached://${MEMCACHE_HOST}:${MEMCACHE_PORT:-11211};
fi

0 comments on commit 6e99b7f

Please sign in to comment.