- fix logrotate to not restart xrdp and drop all open connections
This commit is contained in:
parent
04c6b21cf7
commit
5a536b60cf
@ -1,9 +1,9 @@
|
||||
/var/log/xrdp/sesman.log {
|
||||
/var/log/xrdp-sesman.log {
|
||||
create 644 root root
|
||||
daily
|
||||
compress
|
||||
missingok
|
||||
postrotate
|
||||
/etc/rc.d/init.d/xrdp restart > /dev/null 2>/dev/null || :
|
||||
/bin/kill -HUP `cat /var/run/xrdp-sesman.pid 2>/dev/null` 2> /dev/null || true
|
||||
endscript
|
||||
}
|
||||
|
@ -4,7 +4,7 @@
|
||||
Summary: Open source remote desktop protocol (RDP) server
|
||||
Name: xrdp
|
||||
Version: 0.5.0
|
||||
Release: 0.11.%{cvs}%{?dist}
|
||||
Release: 0.12.%{cvs}%{?dist}
|
||||
License: GPLv2+ with exceptions
|
||||
Group: Applications/Internet
|
||||
URL: http://xrdp.sourceforge.net/
|
||||
@ -27,6 +27,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
Patch0: xrdp-pam-auth.patch
|
||||
Patch1: environmnet.patch
|
||||
Patch2: 05-default-keymap.patch
|
||||
Patch3: limit-x-to-localhost.patch
|
||||
|
||||
Source1: xrdp.init
|
||||
Source2: xrdp.sysconfig
|
||||
@ -64,6 +65,8 @@ terminal server / remote desktop clients.
|
||||
%patch1 -p2
|
||||
#fix keymap
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
|
||||
|
||||
|
||||
# remove unused modules from xrdp login combobox
|
||||
@ -181,6 +184,9 @@ rm -rf %{buildroot}
|
||||
%attr(0600,root,root) %verify(not size md5 mtime) %{_sysconfdir}/xrdp/rsakeys.ini
|
||||
|
||||
%changelog
|
||||
* Thu Nov 18 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.12.03172010
|
||||
- fix logrotate to not restart xrdp and drop all open connections
|
||||
|
||||
* Mon Oct 04 2010 Itamar Reis Peixoto <itamar@ispbrasil.com.br> - 0.5.0-0.11.03172010
|
||||
- Load a default keymap when current keymap doesnt exist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user