2012-05-26 21:15:45 +04:00
|
|
|
[Unit]
|
|
|
|
Description=xrdp session manager
|
|
|
|
After=syslog.target network.target
|
|
|
|
StopWhenUnneeded=true
|
2015-07-15 20:23:39 +03:00
|
|
|
BindTo=xrdp.service
|
2012-05-26 21:15:45 +04:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/xrdp-sesman.pid
|
2015-07-24 09:49:12 +03:00
|
|
|
EnvironmentFile=-/etc/sysconfig/xrdp
|
|
|
|
EnvironmentFile=-/etc/default/xrdp
|
2012-05-26 21:15:45 +04:00
|
|
|
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
|
|
|
|
ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|