mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 07:16:56 +08:00
Merge branch 'master' of github.com:openalpr/openalpr
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user