config: send SIGHUP to shutdown rTorrent instead

This commit is contained in:
Jesse Chan
2021-03-03 22:26:35 +08:00
parent 38605915c6
commit 105634f125
+1 -1
View File
@@ -201,7 +201,7 @@ if (argv.rtorrent) {
process.on('exit', () => {
console.log('Killing rTorrent daemon...');
rTorrentProcess.kill('SIGTERM');
rTorrentProcess.kill('SIGHUP');
});
}