49d439fe31
Do not use forking style, but run services in the foreground instead. Dispense with ExecStop, systemd will do that for us.
13 lines
261 B
Desktop File
13 lines
261 B
Desktop File
[Unit]
|
|
Description=xrdp session manager
|
|
After=syslog.target network.target
|
|
StopWhenUnneeded=true
|
|
BindTo=xrdp.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/etc/sysconfig/xrdp
|
|
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --nodaemon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|