File: var-run.diff

package info (click to toggle)
xrdp 0.9.21.1-1%2Bdeb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,748 kB
  • sloc: ansic: 88,046; sh: 5,454; asm: 4,742; cpp: 1,307; makefile: 1,155
file content (26 lines) | stat: -rw-r--r-- 799 bytes parent folder | download | duplicates (5)
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
Description: Assume hard that /run → /var/run, to please lintian
Author: Thorsten Glaser <tg@mirbsd.org>
Forwarded: not-yet

--- a/instfiles/xrdp-sesman.service.in
+++ b/instfiles/xrdp-sesman.service.in
@@ -7,7 +7,7 @@ BindsTo=xrdp.service
 
 [Service]
 Type=forking
-PIDFile=@localstatedir@/run/xrdp/xrdp-sesman.pid
+PIDFile=/run/xrdp/xrdp-sesman.pid
 RuntimeDirectory=xrdp
 EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
 EnvironmentFile=-@sysconfdir@/default/xrdp
--- a/instfiles/xrdp.service.in
+++ b/instfiles/xrdp.service.in
@@ -6,7 +6,7 @@ After=network.target xrdp-sesman.service
 
 [Service]
 Type=forking
-PIDFile=@localstatedir@/run/xrdp/xrdp.pid
+PIDFile=/run/xrdp/xrdp.pid
 RuntimeDirectory=xrdp
 EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
 EnvironmentFile=-@sysconfdir@/default/xrdp