Skip to content

Commit

Permalink
Ensure initial location
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbelgium authored Dec 6, 2024
1 parent 7d013bf commit ee2be70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions monica/rootfs/etc/cont-init.d/99-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ case "$database" in
export DB_DATABASE="/config/database.sqlite"
export DB_CONNECTION=sqlite
touch "$DB_DATABASE"
mkdir -p /var/www/html/database
ln -sf "$DB_DATABASE" /var/www/html/database/database.sqlite
chown www-data:www-data "$DB_DATABASE"
bashio::log.blue "Using $DB_DATABASE"
;;
Expand Down

0 comments on commit ee2be70

Please sign in to comment.