]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: create /var/log/ceph/stat dir
authorThomas Mueller <thomas@chaschperli.ch>
Thu, 29 Jul 2010 15:52:05 +0000 (15:52 +0000)
committerSage Weil <sage@newdream.net>
Thu, 29 Jul 2010 16:14:11 +0000 (09:14 -0700)
the logrotate config expects a var/log/ceph/stat dir - create it.

Signed-off-by: Sage Weil <sage@newdream.net>
ceph.spec.in

index b79f8e4fae8255889c1b698937dd22866dc8dfce..a8a5e25485ad62add0093777f40edbfbb30096d6 100644 (file)
@@ -73,6 +73,7 @@ chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
 install -m 0644 -D debian/ceph.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/
 mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/
+mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat
 
 %clean
 rm -rf $RPM_BUILD_ROOT