Comments (5)
chasquid currently does not support reloading certificates while running, it needs to be restarted to pick up the new ones. This was a conscious decision since implementing cert reloading would introduce significant complexity, for very little gain given how tolerant SMTP is, and how fast chasquid restarts.
chasquid launching a new instance of itself also gets complicated (due to privileged descriptor passing, etc.), that's why nowadays many daemons delegate these things to the launcher (like systemd), instead of trying to handle all this logic themselves (as was more common in the past).
I would, then, focus on ways to restart chasquid in your particular environment. If it had a /quit endpoint in the monitoring server, for example, would that help you? Do you run chasquid with something that would start it again if it dies, like systemd?
Thanks!
from chasquid.
You're right, even restarting would be complex. /quit would be great as I do use an init in Docker that will restart it automatically.
from chasquid.
ThinkChaos implemented the /exit handler in #13, commit 99ec58b in next
, so I think that should fix this issue.
ThunkChaos, can you confirm the change in next
works for you? It's not too late to adjust and amend, so please let me know how it goes.
Thanks!
from chasquid.
I'm now using next
and it works great!
Looking forward to the next release with this minor change. Thanks!
I'll let you close this issue when you want.
from chasquid.
Thanks a lot for the patch and the confirmation!
I think we can now close this, the change will be moved to master
in a few days (just to give it more exposure in next
in case something comes up), and will be included in the 1.6 release.
Thanks again!
from chasquid.
Related Issues (20)
- docker container won't restart due to dublicate hostname option in chasquid.conf HOT 5
- Hooks seem to be ignored HOT 8
- `chasquid-util aliases-resolve` does not take hooks into account HOT 1
- Error while installing chasquid-1.6-1 on Arch Linux HOT 18
- Docker pull error when pulling `latest` tag HOT 3
- Add support for specifying outbound source IP address (i.e. for multi-homed servers) HOT 3
- Question about catch-all aliases HOT 10
- When set to "", some config options use the default value instead HOT 3
- Question about symlinking the certbot pem files... HOT 5
- JMAP support HOT 2
- t-11-dovecot fails due to permission errors HOT 2
- docker: setfacl step fails when using user-provided certificates HOT 4
- Send-only server without dovecot? HOT 3
- SpamAssassin integration in Ubuntu 16.04 needs adjustment HOT 5
- Send-only server: `Destination address is unknown` when sending to local domain HOT 2
- Do not `chown` files (unless the new file has a different UID/GID) HOT 1
- [smtp-check]: Some MTA do reject client connections unless the local name looks like an fqdn HOT 2
- Allow alias '*' to redirect all email HOT 3
- Add support for forwarding via SMTP (with SRS due SPF) HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chasquid.