File: 90-debianize-systemd-unit.diff

package info (click to toggle)
mumble 1.5.735-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 89,984 kB
  • sloc: cpp: 556,921; ansic: 81,664; python: 3,606; sh: 659; makefile: 506; asm: 371; cs: 306; sql: 228; javascript: 143; perl: 80; xml: 13
file content (42 lines) | stat: -rw-r--r-- 1,703 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Description: Correct upstream systemd unit for Group User and mumble-server sysuser
Author: Sven Hartge <sven@svenhartge.de>
Bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1039271
Forwarded: not-needed
Last-Update: 2024-12-01

--- a/auxiliary_files/config_files/mumble-server.service.in
+++ b/auxiliary_files/config_files/mumble-server.service.in
@@ -8,7 +8,7 @@
 AmbientCapabilities=CAP_NET_BIND_SERVICE
 CapabilityBoundingSet=CAP_NET_BIND_SERVICE
 ExecStart=@MUMBLE_INSTALL_ABS_EXECUTABLEDIR@/@MUMBLE_SERVER_BINARY_NAME@ -ini @MUMBLE_INSTALL_ABS_SYSCONFDIR@/mumble-server.ini -fg
-Group=_mumble-server
+Group=mumble-server
 LockPersonality=yes
 MemoryDenyWriteExecute=yes
 NoNewPrivileges=yes
@@ -30,7 +30,7 @@
 SystemCallArchitectures=native
 SystemCallFilter=@system-service
 Type=simple
-User=_mumble-server
+User=mumble-server
 
 [Install]
 WantedBy=multi-user.target
--- a/auxiliary_files/config_files/mumble-server.sysusers
+++ b/auxiliary_files/config_files/mumble-server.sysusers
@@ -2,4 +2,4 @@
 # is intended to run under (e.g. when started via systemd)
 
 # Type # Name         # ID # GECOS              # Home # Shell
-u      _mumble-server -    "Mumble server user" -      -
+u      mumble-server -    "Mumble server user" -      -
--- a/auxiliary_files/config_files/mumble-server.tmpfiles.in
+++ b/auxiliary_files/config_files/mumble-server.tmpfiles.in
@@ -3,4 +3,4 @@
 # special user used to execute the Mumble server when started via systemd
 
 # Type # Path                        # Mode # User # Group
-z      @MUMBLE_INSTALL_ABS_SYSCONFDIR@/mumble-server.ini 0640   root   _mumble-server
+z      @MUMBLE_INSTALL_ABS_SYSCONFDIR@/mumble-server.ini 0640   root   mumble-server