Skip to content

Commit

Permalink
Fix scheduler systemd requirement
Browse files Browse the repository at this point in the history
Make `lqos_scheduler.service` require `lqosd.service` to run.
  • Loading branch information
rchac authored Jul 16, 2024
1 parent 501fdf2 commit 8b4991b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/bin/lqos_scheduler.service.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[Unit]
After=lqosd.service
After=network.service lqosd.service
Requires=lqosd.service

[Service]
WorkingDirectory=/opt/libreqos/src
Expand Down

1 comment on commit 8b4991b

@interduo
Copy link
Contributor

Choose a reason for hiding this comment

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

@rchac there is one problem with that. In Ubuntu 24.04 there is no network.service but there is systemd-networkd.service.

Please sign in to comment.