Package: transmission / 2.94-2

transmission-daemon_execstop_service.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
From: Ritesh Raj Sarraf <rrs@debian.org>
Date: Sun, 6 May 2018 15:35:38 -0400
Subject: add ExecStop to -daemon service file

Origin: vendor
Bug: https://github.com/transmission/transmission/issues/138
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=831467
Forwarded: yes
Reviewed-by: Sandro Tosi <morph@debian.org>
Last-Update: 2017-01-07
---
 daemon/transmission-daemon.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/daemon/transmission-daemon.service b/daemon/transmission-daemon.service
index 3687cf3..207b2e6 100644
--- a/daemon/transmission-daemon.service
+++ b/daemon/transmission-daemon.service
@@ -6,6 +6,7 @@ After=network.target
 User=debian-transmission
 Type=notify
 ExecStart=/usr/bin/transmission-daemon -f --log-error
+ExecStop=/bin/kill -s STOP $MAINPID
 ExecReload=/bin/kill -s HUP $MAINPID
 
 [Install]