Mark xrdp.log as ghost, don't create empty xrdp-sesman.log
This commit is contained in:
parent
703134b7c4
commit
7e4969065f
@ -74,10 +74,6 @@ echo '#!/bin/bash -l
|
||||
#install openssl.conf /etc/xrdp
|
||||
%{__install} -Dp -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/xrdp/openssl.conf
|
||||
|
||||
#install log file /var/log/xrdp-sesman.log
|
||||
%{__mkdir} -p %{buildroot}%{_localstatedir}/log/
|
||||
touch %{buildroot}%{_localstatedir}/log/xrdp-sesman.log
|
||||
|
||||
#install 'bash -l' startwm script
|
||||
%{__install} -Dp -m 755 sesman/startwm-bash.sh %{buildroot}%{_sysconfdir}/xrdp/startwm-bash.sh
|
||||
|
||||
@ -175,6 +171,7 @@ fi
|
||||
%{_unitdir}/xrdp.service
|
||||
%exclude %{_libdir}/xrdp/*.a
|
||||
%exclude %{_libdir}/xrdp/*.la
|
||||
%ghost %{_localstatedir}/log/xrdp.log
|
||||
%ghost %{_localstatedir}/log/xrdp-sesman.log
|
||||
%attr(0600,root,root) %verify(not size md5 mtime) %{_sysconfdir}/xrdp/rsakeys.ini
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user