Hopefully better service dependencies.

This commit is contained in:
Bojan Smojver 2015-05-15 15:27:00 +10:00
parent ae76cf704d
commit cfb3ac7ea3
3 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,8 @@
[Unit]
Description=xrdp session manager
BindTo=xrdp.service
After=syslog.target network.target
BindsTo=xrdp.service
Wants=network-online.target nss-lookup.target nss-user-lookup.target
After=network-online.target nss-lookup.target nss-user-lookup.target
StopWhenUnneeded=true
[Service]

View File

@ -1,7 +1,7 @@
[Unit]
Description=xrdp daemon
Requires=xrdp-sesman.service
After=syslog.target network.target xrdp-sesman.service
After=xrdp-sesman.service
[Service]
EnvironmentFile=/etc/sysconfig/xrdp

View File

@ -2,7 +2,7 @@ Summary: Open source remote desktop protocol (RDP) server
Name: xrdp
Epoch: 1
Version: 0.6.1
Release: 8%{?dist}
Release: 9%{?dist}
License: GPLv2+ with exceptions
Group: Applications/Internet
URL: http://xrdp.sourceforge.net/
@ -183,6 +183,9 @@ fi
%attr(0600,root,root) %verify(not size md5 mtime) %{_sysconfdir}/xrdp/rsakeys.ini
%changelog
* Fri May 15 2015 Bojan Smojver <bojan@rexursive.com> - 1:0.6.1-9
- hopefully better service dependencies
* Thu Apr 23 2015 Dan Horák <dan[at]danny.cz> - 1:0.6.1-8
- fix upgrade path after the 0.8 bump in 2014-09 by adding Epoch