Lines 8-14
After=network.target xrdp-sesman.service
Link Here
|
8 |
Type=forking |
8 |
Type=forking |
9 |
PIDFile=@localstatedir@/run/xrdp.pid |
9 |
PIDFile=@localstatedir@/run/xrdp.pid |
10 |
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp |
10 |
EnvironmentFile=-@sysconfdir@/sysconfig/xrdp |
11 |
EnvironmentFile=-@sysconfdir@/default/xrdp |
11 |
#EnvironmentFile=-@sysconfdir@/default/xrdp |
|
|
12 |
# (re)generate certificates |
13 |
ExecStartPre=/usr/bin/cert-sh generate xrdp |
14 |
# generate keys |
15 |
ExecStartPre=/bin/sh -e -c 'if [ ! -f /etc/xrdp/rsakeys.ini ]; then xrdp-keygen xrdp /etc/xrdp/rsakeys.ini; chmod 0600 /etc/xrdp/rsakeys.ini; fi' |
12 |
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS |
16 |
ExecStart=@sbindir@/xrdp $XRDP_OPTIONS |
13 |
ExecStop=@sbindir@/xrdp $XRDP_OPTIONS --kill |
17 |
ExecStop=@sbindir@/xrdp $XRDP_OPTIONS --kill |
14 |
|
18 |
|
15 |
- |
|
|