mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-02 05:44:03 +02:00
Update and rename start.sh to run.sh
This commit is contained in:
@@ -57,7 +57,8 @@ bashio::log.info "Launching app, please wait"
|
|||||||
|
|
||||||
if bashio::config.true 'database_in_share'; then
|
if bashio::config.true 'database_in_share'; then
|
||||||
export WEBTREES_HOME="/share/webtrees"
|
export WEBTREES_HOME="/share/webtrees"
|
||||||
grep -rl "/data/webtrees" /etc/ | xargs sed -i 's|/data/webtrees|$WEBTREES_HOME|g' \
|
grep -rl "/data/webtrees" /etc/ | xargs sed -i 's|/data/webtrees|$WEBTREES_HOME|g' || true
|
||||||
|
grep -rl "/var/www/webtrees" /etc/ | xargs sed -i 's|/var/www/webtrees|$WEBTREES_HOME|g' || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bashio::log.info "Data stored in $WEBTREES_HOME"
|
bashio::log.info "Data stored in $WEBTREES_HOME"
|
||||||
Reference in New Issue
Block a user