1 2 3 4 5 6 7 8 9 10 11 12 13 14
[Unit] Description=xrdp session manager After=syslog.target network.target StopWhenUnneeded=true [Service] Type=forking PIDFile=/var/run/xrdp-sesman.pid ExecStart=/usr/bin/xrdp-sesman ExecStop=/usr/bin/xrdp-sesman --kill [Install] WantedBy=multi-user.target