feature:新增tsg-diagnose-periodical和tsg-diagnose搜索路径
This commit is contained in:
@@ -32,6 +32,7 @@ cache:
|
|||||||
- cd $BUILD_PADDING_PREFIX/$CI_PROJECT_PATH
|
- cd $BUILD_PADDING_PREFIX/$CI_PROJECT_PATH
|
||||||
- chmod 0755 ./scripts/tsg-diagnose-oneshot
|
- chmod 0755 ./scripts/tsg-diagnose-oneshot
|
||||||
- chmod 0755 ./scripts/tsg-diagnose-periodical
|
- chmod 0755 ./scripts/tsg-diagnose-periodical
|
||||||
|
- chmod 0755 ./scripts/tsg-diagnose.sh
|
||||||
- chmod 0755 ./etc/certs_import/certs/tool
|
- chmod 0755 ./etc/certs_import/certs/tool
|
||||||
- chmod +x ./ci/travis.sh
|
- chmod +x ./ci/travis.sh
|
||||||
tags:
|
tags:
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ install(FILES service/tsg-diagnose-periodical.service DESTINATION /usr/lib/syste
|
|||||||
install(FILES service/tsg-diagnose.conf DESTINATION /usr/lib/tmpfiles.d)
|
install(FILES service/tsg-diagnose.conf DESTINATION /usr/lib/tmpfiles.d)
|
||||||
install(FILES images_build/server_dns/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/)
|
install(FILES images_build/server_dns/dnsmasq.conf DESTINATION /opt/tsg/tsg-diagnose/etc/)
|
||||||
install(DIRECTORY images/ DESTINATION ./images)
|
install(DIRECTORY images/ DESTINATION ./images)
|
||||||
install(DIRECTORY scripts/ DESTINATION ./scripts)
|
install(FILES scripts/tsg-diagnose-periodical DESTINATION ./scripts)
|
||||||
|
install(FILES scripts/tsg-diagnose-oneshot DESTINATION ./scripts)
|
||||||
|
install(FILES scripts/tsg-diagnose.sh DESTINATION /etc/profile.d/)
|
||||||
install(DIRECTORY etc/certs_import/ DESTINATION ./etc/.certs_import)
|
install(DIRECTORY etc/certs_import/ DESTINATION ./etc/.certs_import)
|
||||||
|
|
||||||
include(CPack)
|
include(CPack)
|
||||||
|
|||||||
1
scripts/tsg-diagnose.sh
Normal file
1
scripts/tsg-diagnose.sh
Normal file
@@ -0,0 +1 @@
|
|||||||
|
export PATH=/opt/tsg/tsg-diagnose/scripts:$PATH
|
||||||
Reference in New Issue
Block a user