Merge branch 'master' of github.com:openalpr/openalpr

This commit is contained in:
Matt Hill
2014-09-24 22:34:45 -04:00
2 changed files with 5 additions and 3 deletions

View File

@@ -27,7 +27,7 @@ find_path(OpenCV_DIR
# Opencv Package
FIND_PACKAGE( OpenCV REQUIRED )
IF (${OpenCV_VERSION} VERSION_LESS 2.4.8)
IF (${OpenCV_VERSION} VERSION_LESS 2.4.7)
MESSAGE(FATAL_ERROR "OpenCV version is not compatible : ${OpenCV_VERSION}")
ENDIF()
@@ -91,9 +91,11 @@ add_subdirectory(video)
install (TARGETS alpr DESTINATION bin)
install (TARGETS alprd DESTINATION bin)
install (FILES ${CMAKE_SOURCE_DIR}/../doc/man/alpr.1 DESTINATION share/man/man1 COMPONENT doc)
install (DIRECTORY ${CMAKE_SOURCE_DIR}/../runtime_data DESTINATION share/openalpr/)
install (FILES ${CMAKE_SOURCE_DIR}/../config/openalpr.conf DESTINATION /etc/openalpr/ COMPONENT config)
install (FILES ${CMAKE_SOURCE_DIR}/../config/alprd.conf DESTINATION /etc/openalpr/ COMPONENT config)

View File

@@ -16,8 +16,8 @@ respawn limit 5 30
env uid=watchtower
env gid=watchtower
env DAEMON=/usr/local/bin/alprd
env DAEMON_ARGS="-l /var/log/watchtower/alprd.log -n 20"
env DAEMON=/usr/bin/alprd
env DAEMON_ARGS="-l /var/log/alprd.log -n 20"
env PIDFILE=/var/run/alprd.pid
exec start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $DAEMON --chuid $uid:$gid -- $DAEMON_ARGS