Merge pull request #265 from itamarjp/devel

improve systemd unit files
ulab-next-nosound
Itamar Reis Peixoto 9 years ago
commit d4791b39e1

@ -2,6 +2,7 @@
Description=xrdp session manager Description=xrdp session manager
After=syslog.target network.target After=syslog.target network.target
StopWhenUnneeded=true StopWhenUnneeded=true
BindTo=xrdp.service
[Service] [Service]
Type=forking Type=forking

@ -7,7 +7,7 @@ After=syslog.target network.target xrdp-sesman.service
Type=forking Type=forking
PIDFile=/var/run/xrdp.pid PIDFile=/var/run/xrdp.pid
EnvironmentFile=/etc/sysconfig/xrdp EnvironmentFile=/etc/sysconfig/xrdp
ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS ExecStart=/usr/sbin/xrdp $XRDP_OPTIONS --nodaemon
ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill ExecStop=/usr/sbin/xrdp $XRDP_OPTIONS --kill
[Install] [Install]

Loading…
Cancel
Save