[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