xrdp-next/xrdp.service
Bojan Smojver 49d439fe31 Bind xrdp-sesman.service to xrdp.service, so that restarts work.
Do not use forking style, but run services in the foreground instead.
Dispense with ExecStop, systemd will do that for us.
2012-05-28 10:02:26 +10:00

12 lines
250 B
Desktop File

[Unit]
Description=xrdp daemon
Requires=xrdp-sesman.service
After=syslog.target network.target xrdp-sesman.service
[Service]
EnvironmentFile=/etc/sysconfig/xrdp
ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --nodaemon
[Install]
WantedBy=multi-user.target