File: xrdp.service.in

package info (click to toggle)
xrdp 0.9.8-2~bpo9+1
  • links: PTS, VCS
  • area: main
  • in suites: stretch-backports
  • size: 10,920 kB
  • sloc: ansic: 74,952; sh: 4,990; asm: 4,726; cpp: 2,040; makefile: 1,041
file content (21 lines) | stat: -rw-r--r-- 535 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
[Unit]
Description=xrdp daemon
Documentation=man:xrdp(8) man:xrdp.ini(5)
Requires=xrdp-sesman.service
After=network.target xrdp-sesman.service

[Service]
Type=forking
PIDFile=@localstatedir@/run/xrdp/xrdp.pid
RuntimeDirectory=xrdp
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp
EnvironmentFile=-@sysconfdir@/default/xrdp
User=xrdp
Group=xrdp
PermissionsStartOnly=true
ExecStartPre=/bin/sh /usr/share/xrdp/socksetup
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS
ExecStop=@sbindir@/xrdp $XRDP_OPTIONS --kill

[Install]
WantedBy=multi-user.target