[Unit] Description=xrdp session manager BindsTo=xrdp.service Wants=network-online.target nss-lookup.target nss-user-lookup.target After=network-online.target nss-lookup.target nss-user-lookup.target StopWhenUnneeded=true [Service] EnvironmentFile=/etc/sysconfig/xrdp ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --nodaemon [Install] WantedBy=multi-user.target