mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2025-02-25 18:55:32 -06:00
Add example systemctl .service files
Add example .service files for lqosd and lqos_node_manager. Signed-off-by: Herbert Wolverson <herberticus@gmail.com>
This commit is contained in:
9
.gitignore
vendored
9
.gitignore
vendored
@@ -51,7 +51,14 @@ src/liblqos_python.so
|
|||||||
|
|
||||||
# Ignore Rust build artifacts
|
# Ignore Rust build artifacts
|
||||||
src/rust/target
|
src/rust/target
|
||||||
src/bin
|
src/bin/static
|
||||||
|
src/bin/lqosd
|
||||||
|
src/bin/lqtop
|
||||||
|
src/bin/xdp_iphash_to_cpu_cmdline
|
||||||
|
src/bin/xdp_pping
|
||||||
|
src/bin/lqos_node_manager
|
||||||
|
src/bin/Rocket.toml
|
||||||
|
|
||||||
|
|
||||||
# Ignore project folders for some IDEs
|
# Ignore project folders for some IDEs
|
||||||
.idea/
|
.idea/
|
||||||
|
|||||||
10
src/bin/lqos_node_manager.service.example
Normal file
10
src/bin/lqos_node_manager.service.example
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
After=network.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/opt/libreqos/src/bin
|
||||||
|
ExecStart=/opt/libreqos/src/bin/lqos_node_manager
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
10
src/bin/lqosd.service.example
Normal file
10
src/bin/lqosd.service.example
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
[Unit]
|
||||||
|
After=network.service
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
WorkingDirectory=/opt/libreqos/src/bin
|
||||||
|
ExecStart=/opt/libreqos/src/bin/lqosd
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=default.target
|
||||||
@@ -37,3 +37,4 @@ popd
|
|||||||
cp rust/target/release/liblqos_python.so .
|
cp rust/target/release/liblqos_python.so .
|
||||||
|
|
||||||
echo "Don't forget to setup /etc/lqos!"
|
echo "Don't forget to setup /etc/lqos!"
|
||||||
|
echo "Template .service files can be found in bin/"
|
||||||
|
|||||||
Reference in New Issue
Block a user