mirror of
https://github.com/unraid/api.git
synced 2026-05-09 08:41:12 -05:00
fix(sigusr): switch master -> worker from SIGUSR1 to SIGUSR2
This commit is contained in:
@@ -77,9 +77,9 @@ if (cluster.isMaster) {
|
||||
});
|
||||
|
||||
// Toggle debug logs
|
||||
process.on('SIGUSR1', () => {
|
||||
process.on('SIGUSR2', () => {
|
||||
log.debug('<master> Updating log level.');
|
||||
currentWorker.send('SIGUSR1');
|
||||
currentWorker.send('SIGUSR2');
|
||||
});
|
||||
|
||||
// Kill all workers then exit gracefully
|
||||
|
||||
Reference in New Issue
Block a user