From 105634f125dbc99da97b3c7d29b1808449c6508f Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Wed, 3 Mar 2021 22:26:35 +0800 Subject: [PATCH] config: send SIGHUP to shutdown rTorrent instead --- config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.ts b/config.ts index 29646061..1522c6b9 100644 --- a/config.ts +++ b/config.ts @@ -201,7 +201,7 @@ if (argv.rtorrent) { process.on('exit', () => { console.log('Killing rTorrent daemon...'); - rTorrentProcess.kill('SIGTERM'); + rTorrentProcess.kill('SIGHUP'); }); }