summaryrefslogtreecommitdiff
path: root/tools/systemd
diff options
context:
space:
mode:
authorQiuwen Lu <[email protected]>2017-04-11 14:51:56 +0800
committerQiuwen Lu <[email protected]>2017-04-11 14:51:56 +0800
commit48d6cbfabcc07d0f811b855c1ffe2f2c26cbaa2d (patch)
tree20ee86246901701b1404423a2d2fe6ba97602ee7 /tools/systemd
parent8cb51725710911d90dacfefdb8c6cf7d65824348 (diff)
增加物理设备统计工具,支持PyInstaller打包工具。
Diffstat (limited to 'tools/systemd')
-rw-r--r--tools/systemd/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/systemd/CMakeLists.txt b/tools/systemd/CMakeLists.txt
new file mode 100644
index 0000000..ebb0564
--- /dev/null
+++ b/tools/systemd/CMakeLists.txt
@@ -0,0 +1,11 @@
+configure_file(mrenv.service.in mrenv.service)
+configure_file(mrzcpd.service.in mrzcpd.service)
+
+install(FILES ${CMAKE_BINARY_DIR}/tools/systemd/mrenv.service
+ DESTINATION ${MR_INSTALL_SYSUNITDIR} COMPONENT Program)
+
+install(FILES ${CMAKE_BINARY_DIR}/tools/systemd/mrzcpd.service
+ DESTINATION ${MR_INSTALL_SYSUNITDIR} COMPONENT Program)
+
+install(FILES mrenv-script DESTINATION ${MR_INSTALL_BINDIR}
+ PERMISSIONS WORLD_EXECUTE COMPONENT Program) \ No newline at end of file