fix path of installed hls

This commit is contained in:
mpromonet 2018-12-08 15:14:30 +00:00
parent 65560567c3
commit 252d613c9d
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ endif (SYSTEMD_FOUND)
# package
install (TARGETS ${PROJECT_NAME} RUNTIME DESTINATION bin)
install (FILES index.html DESTINATION share/${PROJECT_NAME}/)
install (FILES hls.js/dist/hls.min.js DESTINATION share/${PROJECT_NAME}/hls.js/dist/)
install (FILES hls.js/dist/hls.light.min.js DESTINATION share/${PROJECT_NAME}/hls.js/dist/)
SET(CPACK_GENERATOR "DEB")
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Michel Promonet")

View File

@ -5,7 +5,7 @@ After=network.target
[Service]
Type=simple
Restart=always
RestartSec=1
RestartSec=5
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/v4l2rtspserver
WorkingDirectory=@CMAKE_INSTALL_PREFIX@/share/v4l2rtspserver