- 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
|
create 644 root root
|
||||||
daily
|
daily
|
||||||
compress
|
compress
|
||||||
missingok
|
missingok
|
||||||
postrotate
|
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
|
endscript
|
||||||
}
|
}
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
Summary: Open source remote desktop protocol (RDP) server
|
Summary: Open source remote desktop protocol (RDP) server
|
||||||
Name: xrdp
|
Name: xrdp
|
||||||
Version: 0.5.0
|
Version: 0.5.0
|
||||||
Release: 0.11.%{cvs}%{?dist}
|
Release: 0.12.%{cvs}%{?dist}
|
||||||
License: GPLv2+ with exceptions
|
License: GPLv2+ with exceptions
|
||||||
Group: Applications/Internet
|
Group: Applications/Internet
|
||||||
URL: http://xrdp.sourceforge.net/
|
URL: http://xrdp.sourceforge.net/
|
||||||
@ -27,6 +27,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|||||||
Patch0: xrdp-pam-auth.patch
|
Patch0: xrdp-pam-auth.patch
|
||||||
Patch1: environmnet.patch
|
Patch1: environmnet.patch
|
||||||
Patch2: 05-default-keymap.patch
|
Patch2: 05-default-keymap.patch
|
||||||
|
Patch3: limit-x-to-localhost.patch
|
||||||
|
|
||||||
Source1: xrdp.init
|
Source1: xrdp.init
|
||||||
Source2: xrdp.sysconfig
|
Source2: xrdp.sysconfig
|
||||||
@ -64,6 +65,8 @@ terminal server / remote desktop clients.
|
|||||||
%patch1 -p2
|
%patch1 -p2
|
||||||
#fix keymap
|
#fix keymap
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# remove unused modules from xrdp login combobox
|
# 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
|
%attr(0600,root,root) %verify(not size md5 mtime) %{_sysconfdir}/xrdp/rsakeys.ini
|
||||||
|
|
||||||
%changelog
|
%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
|
* 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
|
- Load a default keymap when current keymap doesnt exist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user