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:
parent
495b40f840
commit
3e7da99f0f
9
.gitignore
vendored
9
.gitignore
vendored
@ -51,7 +51,14 @@ src/liblqos_python.so
|
||||
|
||||
# Ignore Rust build artifacts
|
||||
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
|
||||
.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 .
|
||||
|
||||
echo "Don't forget to setup /etc/lqos!"
|
||||
echo "Template .service files can be found in bin/"
|
||||
|
Loading…
Reference in New Issue
Block a user