Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(entrypoint.sh): parse config #203

Merged
merged 1 commit into from
Jun 14, 2024
Merged

Conversation

powerman
Copy link
Contributor

I'm using domain name with TLD "name" (i.e. allowed_host1 = etesync.example.name) and this result in false match and scary log output on container start:

2024-06-14T08:41:56+00:00 [Info] [Entrypoint]: Check permission of allowed_host1 = etesync.example.name
/data/db.sqlite3
2024-06-14T08:41:56+00:00 [Info] [Entrypoint]: allowed_host1 = etesync.example.name
/data/db.sqlite3 does not exist

I'm using domain name with TLD "name" (i.e. `allowed_host1 = etesync.example.name`) and this result in false match and scary log output on container start:
```
2024-06-14T08:41:56+00:00 [Info] [Entrypoint]: Check permission of allowed_host1 = etesync.example.name
/data/db.sqlite3
2024-06-14T08:41:56+00:00 [Info] [Entrypoint]: allowed_host1 = etesync.example.name
/data/db.sqlite3 does not exist
```
@powerman
Copy link
Contributor Author

There are other similar code, which also may needs fixing to make it more fault tolerant.

@victor-rds
Copy link
Owner

LGTM

@victor-rds victor-rds merged commit 66ff7ba into victor-rds:master Jun 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants