summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorliuchang <[email protected]>2023-03-22 12:47:22 +0000
committerliuchang <[email protected]>2023-03-22 12:47:22 +0000
commit16528f0f938ccbaad67491f83bbaa54c773b5e19 (patch)
tree0343ad90c0f85d499014b8ae11aefde74b3ac118 /script
parent69e07b600b2d5f2b20910743dee4863d90155145 (diff)
add package aboutv0.0.0
Diffstat (limited to 'script')
-rw-r--r--script/CMakeLists.txt2
-rw-r--r--script/sce.service7
2 files changed, 9 insertions, 0 deletions
diff --git a/script/CMakeLists.txt b/script/CMakeLists.txt
new file mode 100644
index 0000000..c836fda
--- /dev/null
+++ b/script/CMakeLists.txt
@@ -0,0 +1,2 @@
+install(FILES service/shaping_engine.service DESTINATION /usr/lib/systemd/system/ COMPONENT Program)
+#install(FILES tmpfiles/sce.conf DESTINATION /usr/lib/tmpfiles.d/ COMPONENT Profile) \ No newline at end of file
diff --git a/script/sce.service b/script/sce.service
new file mode 100644
index 0000000..6f8543e
--- /dev/null
+++ b/script/sce.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=TSG Shaping Engine
+After=network.target
+
+[Service]
+WorkingDirectory=/opt/tsg/shaping_engine/
+ExecStart=/opt/tsg/sce/bin/shaping_engine \ No newline at end of file