mirror of https://github.com/neutrinolabs/xrdp
17 lines
386 B
SYSTEMD
17 lines
386 B
SYSTEMD
[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
|