diff options
author | Bala.FA <barumuga@redhat.com> | 2013-08-13 11:27:50 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2013-08-14 13:06:31 -0700 |
commit | 1ea8ee6bc92ad887d47d3aff2404404681c4cfa9 (patch) | |
tree | 320dd94b11969444145d102f9a73734c96856fed /glusterfs.spec.in | |
parent | fc82ae5ddf3b1821095de4188fead9a25bc24191 (diff) |
log: add logger.conf.example file
This example file can be safely renamed as logger.conf to enable
syslog logging
Change-Id: If49dd6002a046915b2eca330b7a539f4fa1f94fa
BUG: 928648
Signed-off-by: Bala.FA <barumuga@redhat.com>
Reviewed-on: http://review.gluster.org/5622
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'glusterfs.spec.in')
-rw-r--r-- | glusterfs.spec.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/glusterfs.spec.in b/glusterfs.spec.in index 9308a641f80..a0bffc014ee 100644 --- a/glusterfs.spec.in +++ b/glusterfs.spec.in @@ -506,6 +506,11 @@ touch %{buildroot}%{_sharedstatedir}/glusterd/geo-replication/gsyncd_template.co %{buildroot}%{_sysconfdir}/rsyslog.d/gluster.conf %endif +%if ( 0%{?fedora} ) || ( 0%{?rhel} && 0%{?rhel} >= 6 ) +%{__install} -D -p -m 0644 extras/logger.conf.example \ + %{buildroot}%{_sysconfdir}/glusterfs/logger.conf.example +%endif + # the rest of the ghosts touch %{buildroot}%{_sharedstatedir}/glusterd/glusterd.info touch %{buildroot}%{_sharedstatedir}/glusterd/options |