File: systemd_service_fixes.patch

package info (click to toggle)
transmission 4.1.0~beta4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 45,036 kB
  • sloc: cpp: 227,745; python: 6,998; javascript: 6,356; ansic: 5,826; sh: 775; xml: 550; makefile: 74
file content (28 lines) | stat: -rw-r--r-- 818 bytes parent folder | 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
27
28
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: 2025-11-06
---
--- transmission.git.orig/daemon/transmission-daemon.service.in	2025-11-06 14:14:08.296609050 +0100
+++ transmission.git/daemon/transmission-daemon.service.in	2025-11-06 14:14:08.292608976 +0100
@@ -5,7 +5,7 @@
 Documentation=man:@TR_NAME@-daemon(1)
 
 [Service]
-User=transmission
+User=debian-transmission
 Type=notify-reload
 ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/@TR_NAME@-daemon -f --log-level=error