Kentaro Hayashi
null+****@clear*****
Wed Jul 26 12:15:50 JST 2017
Kentaro Hayashi 2017-07-26 12:15:50 +0900 (Wed, 26 Jul 2017) New Revision: a3ae5618af01f4808951e92a15a8a31e222572ff https://github.com/groonga/groonga/commit/a3ae5618af01f4808951e92a15a8a31e222572ff Message: rpm centos: add tmpfiles.d configuration It keeps /var/run/groonga directory after rebooting. Added files: data/tmpfiles.d/Makefile.am data/tmpfiles.d/groonga.conf Modified files: configure.ac data/Makefile.am packages/rpm/centos/groonga.spec.in Modified: configure.ac (+1 -0) =================================================================== --- configure.ac 2017-07-25 16:03:38 +0900 (0754c7b) +++ configure.ac 2017-07-26 12:15:50 +0900 (bc00fe2) @@ -290,6 +290,7 @@ AC_CONFIG_FILES([ data/systemd/centos/Makefile data/systemd/centos/sysconfig/Makefile data/scripts/Makefile + data/tmpfiles.d/Makefile tools/Makefile doc/Makefile doc/locale/Makefile Modified: data/Makefile.am (+2 -1) =================================================================== --- data/Makefile.am 2017-07-25 16:03:38 +0900 (d819b7e) +++ data/Makefile.am 2017-07-26 12:15:50 +0900 (a93e1a2) @@ -4,7 +4,8 @@ SUBDIRS = \ init.d \ logrotate.d \ systemd \ - scripts + scripts \ + tmpfiles.d pkgsysconfdir = $(sysconfdir)/$(PACKAGE) dist_pkgsysconf_DATA = \ Added: data/tmpfiles.d/Makefile.am (+8 -0) 100644 =================================================================== --- /dev/null +++ data/tmpfiles.d/Makefile.am 2017-07-26 12:15:50 +0900 (f157c3a) @@ -0,0 +1,8 @@ +tmpfiles_conf = groonga.conf + +if CENTOS_PLATFORM +tmpfilesdir = $(sysconfdir)/tmpfiles.d +dist_tmpfiles_DATA = $(tmpfiles_conf) +else +EXTRA_DIST = $(tmpfiles_conf) +endif Added: data/tmpfiles.d/groonga.conf (+1 -0) 100644 =================================================================== --- /dev/null +++ data/tmpfiles.d/groonga.conf 2017-07-26 12:15:50 +0900 (fd71451) @@ -0,0 +1 @@ +d /var/run/groonga 0755 groonga groonga Modified: packages/rpm/centos/groonga.spec.in (+2 -0) =================================================================== --- packages/rpm/centos/groonga.spec.in 2017-07-25 16:03:38 +0900 (ba496fa) +++ packages/rpm/centos/groonga.spec.in 2017-07-26 12:15:50 +0900 (6bc8c4e) @@ -456,6 +456,8 @@ fi %config(noreplace) %{_sysconfdir}/groonga/synonyms.tsv %files server-common +%defattr(-,root,root,-) +%config(noreplace) %{_sysconfdir}/tmpfiles.d/groonga.conf %files server-gqtp %defattr(-,root,root,-) -------------- next part -------------- HTML����������������������������... 다운로드