improve systemd unit files

ulab-next-nosound
Itamar Reis Peixoto 9 years ago
parent 99b433a130
commit 26780d7fea

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

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

Loading…
Cancel
Save