You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my use case, I've had the SMTP listener spawned by systemd. The only way to close then re-open the port, is for the process to fall on its sword, then let systemd automatically restart it. This is not among the most elegant solutions I've contrived in my time.
In my use case, I've had the SMTP listener spawned by systemd. The only way to close then re-open the port, is for the process to fall on its sword, then let systemd automatically restart it. This is not among the most elegant solutions I've contrived in my time.
Another way is for your enclosing program to capture SIGUSR1 or SIGUSR2 (or heck, SIGWINCH) wherein the enclosing program will perform Controller shutdown & restart.
So far I haven't found an orderly way to close down the listening SMTP port, and re-open it at a later stage.
If this ability could be provided through methods, it would help in a lot of cases.
The text was updated successfully, but these errors were encountered: