summaryrefslogtreecommitdiffstats
path: root/instfiles/xrdp-sesman.service
blob: 0ce9a4e5d581035ecfcb23651291a55ff7ba8942 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
[Unit]
Description=xrdp session manager
After=syslog.target network.target
StopWhenUnneeded=true
BindTo=xrdp.service

[Service]
Type=forking
PIDFile=/var/run/xrdp-sesman.pid
EnvironmentFile=-/etc/sysconfig/xrdp
EnvironmentFile=-/etc/default/xrdp
ExecStart=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS
ExecStop=/usr/sbin/xrdp-sesman $SESMAN_OPTIONS --kill

[Install]
WantedBy=multi-user.target