mirror of
https://github.com/ledgersmb/ledgersmb-docker.git
synced 2025-04-19 06:37:11 -04:00
ledgersmb.conf.default has moved to conf/. Update start.sh.
This commit is contained in:
parent
3578ef79e3
commit
a057cbdfc5
4
start.sh
4
start.sh
@ -1,10 +1,10 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
update_ssmtp.sh
|
update_ssmtp.sh
|
||||||
|
cd /srv/ledgersmb
|
||||||
|
|
||||||
if [[ ! -f ledgersmb.conf ]]; then
|
if [[ ! -f ledgersmb.conf ]]; then
|
||||||
cp ledgersmb.conf.default ledgersmb.conf
|
cp conf/ledgersmb.conf.default ledgersmb.conf
|
||||||
sed -i \
|
sed -i \
|
||||||
-e "s/\(cache_templates = \).*\$/cache_templates = 1/g" \
|
-e "s/\(cache_templates = \).*\$/cache_templates = 1/g" \
|
||||||
-e "s/\(host = \).*\$/\1$POSTGRES_HOST/g" \
|
-e "s/\(host = \).*\$/\1$POSTGRES_HOST/g" \
|
||||||
|
Loading…
Reference in New Issue
Block a user