xuqiang 4 сар өмнө
parent
commit
c95a3dab37

+ 0 - 9
scripts/build.sh

@@ -1,9 +0,0 @@
-#!/bin/bash
-
-# cmake -DCMAKE_TOOLCHAIN_FILE=./conf/toolchain.cmake  \
-# -DCMAKE_INSTALL_PREFIX=/home/xuqiang/633/spdlog/build/install \
-# -B build -S .
-
-cmake -DCMAKE_INSTALL_PREFIX=build/release -B build -S . \
-    && cmake --build build -j$(nproc) \
-    && cmake --install build

+ 0 - 3
scripts/deploy.sh

@@ -1,3 +0,0 @@
-#!/bin/bash
-
-scp -r  build/release/monitor forlinx@192.168.1.15:/home/forlinx

+ 5 - 0
scripts/install.sh

@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cp monitor.service /etc/systemd/system/monitor.service
+systemctl daemon-reload
+systemctl enable --now monitor