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
Is there a way to signal a reload to the workers (for example to reopen a log file)? In our situation, we are using the psgi plugin and need a way to tell our Perl scripts to reopen log files. In other programs, we have used SIGHUP to signal that the file needs reopened, but uwsgi traps SIGHUP and restarts the worker instead.
It would be helpful if there were an option to pass SIGHUP through to the Perl script instead of restarting it, or some other way to trigger a handler in the Perl code.
The text was updated successfully, but these errors were encountered:
Is there a way to signal a reload to the workers (for example to reopen a log file)? In our situation, we are using the psgi plugin and need a way to tell our Perl scripts to reopen log files. In other programs, we have used SIGHUP to signal that the file needs reopened, but uwsgi traps SIGHUP and restarts the worker instead.
It would be helpful if there were an option to pass SIGHUP through to the Perl script instead of restarting it, or some other way to trigger a handler in the Perl code.
The text was updated successfully, but these errors were encountered: