Merge pull request #699 from clipo1979/master

tmpfile.conf for systemd
This commit is contained in:
Andrew Bauer 2015-02-08 11:20:20 -06:00
commit 547cb5c611
3 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ configure_file(syslog.conf.in "${CMAKE_CURRENT_BINARY_DIR}/syslog.conf" @ONLY)
configure_file(com.zoneminder.systemctl.policy.in "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.policy" @ONLY) configure_file(com.zoneminder.systemctl.policy.in "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.policy" @ONLY)
configure_file(com.zoneminder.systemctl.rules.in "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.rules" @ONLY) configure_file(com.zoneminder.systemctl.rules.in "${CMAKE_CURRENT_BINARY_DIR}/com.zoneminder.systemctl.rules" @ONLY)
configure_file(zoneminder.service.in "${CMAKE_CURRENT_BINARY_DIR}/zoneminder.service" @ONLY) configure_file(zoneminder.service.in "${CMAKE_CURRENT_BINARY_DIR}/zoneminder.service" @ONLY)
configure_file(zoneminder-tmpfiles.conf.in "${CMAKE_CURRENT_BINARY_DIR}/zoneminder-tmpfiles.conf" @ONLY)
# Do not install the misc files by default # Do not install the misc files by default
#install(FILES "${CMAKE_CURRENT_BINARY_DIR}/apache.conf" "${CMAKE_CURRENT_BINARY_DIR}/logrotate.conf" "${CMAKE_CURRENT_BINARY_DIR}/syslog.conf" DESTINATION "${CMAKE_INSTALL_DATADIR}/zoneminder/misc") #install(FILES "${CMAKE_CURRENT_BINARY_DIR}/apache.conf" "${CMAKE_CURRENT_BINARY_DIR}/logrotate.conf" "${CMAKE_CURRENT_BINARY_DIR}/syslog.conf" DESTINATION "${CMAKE_INSTALL_DATADIR}/zoneminder/misc")

View File

@ -4,6 +4,7 @@ EXTRA_DIST = \
apache.conf.in \ apache.conf.in \
logrotate.conf.in \ logrotate.conf.in \
syslog.conf.in \ syslog.conf.in \
zoneminder-tmpfiles.conf.in \
zoneminder.service.in \ zoneminder.service.in \
com.zoneminder.systemctl.policy.in \ com.zoneminder.systemctl.policy.in \
com.zoneminder.systemctl.rules.in com.zoneminder.systemctl.rules.in

View File

@ -0,0 +1 @@
d @ZM_RUNDIR@ 0755 @WEB_USER@ @WEB_GROUP@