xrdp-next/xrdp-sesman.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

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