File: systemd_service_fixes.patch

package info (click to toggle)
transmission 4.1.0~beta2%2Bdfsg-3%2Bdeb13u1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 39,812 kB
  • sloc: cpp: 146,009; javascript: 5,801; ansic: 4,119; xml: 550; sh: 477; python: 213; makefile: 75
file content (33 lines) | stat: -rw-r--r-- 955 bytes parent folder | download | duplicates (3)
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
27
28
29
30
31
32
33
From: Sandro Tosi <morph@debian.org>
Date: Sun, 6 May 2018 15:35:38 -0400
Subject: fix segfaults due to wrong systemd service file

The service file has the following line:
User=transmission

It should be replaced with:
User=debian-transmission

This is Debian specific.

Bug-Debian: https://bugs.debian.org/718624
Origin: other, https://bugs.debian.org/718624
Forwarded: not-needed
Last-Update: 2014-10-16
---
 daemon/transmission-daemon.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/daemon/transmission-daemon.service b/daemon/transmission-daemon.service
index 63ca0b1..f33fad2 100644
--- a/daemon/transmission-daemon.service
+++ b/daemon/transmission-daemon.service
@@ -5,7 +5,7 @@ After=network-online.target
 Documentation=man:transmission-daemon(1)
 
 [Service]
-User=transmission
+User=debian-transmission
 Type=notify
 ExecStart=/usr/bin/transmission-daemon -f --log-level=error
 ExecReload=/bin/kill -s HUP $MAINPID