Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix for erros after reboot, improve services starting #522

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/bin/lqos_node_manager.service.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
After=network.service lqosd.service
Requires=lqosd.service
Requires=network.service lqosd.service

[Service]
WorkingDirectory=/opt/libreqos/src/bin
Expand Down
2 changes: 1 addition & 1 deletion src/bin/lqos_scheduler.service.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[Unit]
After=network.service lqosd.service
Requires=lqosd.service
Requires=network.service lqosd.service

[Service]
WorkingDirectory=/opt/libreqos/src
Expand Down
2 changes: 2 additions & 0 deletions src/bin/lqosd.service.example
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
[Unit]
After=network.service
Requires=network.service

[Service]
WorkingDirectory=/opt/libreqos/src/bin
ExecStart=/opt/libreqos/src/bin/lqosd
ExecStartPost=/bin/sleep 10
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for ommiting errors - lqosd bus is starting for sometime

Restart=always
#Turn on debuging for service
#Environment=RUST_LOG=info
Expand Down
Loading