mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-27 04:44:38 +00:00
Have corosync spec file own /var/log/cluster/corosync.log
have example use /var/log/cluster/cluster.log as default log file git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2970 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
7b832592b0
commit
60f13c03a2
@ -15,10 +15,10 @@ totem {
|
||||
|
||||
logging {
|
||||
fileline: off
|
||||
to_stderr: yes
|
||||
to_stderr: no
|
||||
to_logfile: yes
|
||||
to_syslog: yes
|
||||
logfile: /tmp/corosync.log
|
||||
logfile: /var/log/cluster/corosync.log
|
||||
debug: off
|
||||
timestamp: on
|
||||
logger_subsys {
|
||||
|
@ -61,6 +61,7 @@ make %{_smp_mflags}
|
||||
rm -rf %{buildroot}
|
||||
|
||||
make install DESTDIR=%{buildroot}
|
||||
mkdir -p -m 0700 %{buildroot}/%{_localstatedir}/log/cluster
|
||||
|
||||
## tree fixup
|
||||
# drop static libs
|
||||
@ -116,6 +117,7 @@ fi
|
||||
%{_libexecdir}/lcrso/vsf_quorum.lcrso
|
||||
%{_libexecdir}/lcrso/vsf_ykd.lcrso
|
||||
%dir %{_localstatedir}/lib/corosync
|
||||
%dir %{_localstatedir}/log/cluster
|
||||
%{_mandir}/man8/corosync_overview.8*
|
||||
%{_mandir}/man8/corosync.8*
|
||||
%{_mandir}/man8/corosync-blackbox.8*
|
||||
|
Loading…
Reference in New Issue
Block a user