Skip to content

Commit

Permalink
platform/linux: Use right unit in WantedBy
Browse files Browse the repository at this point in the history
Turns out the sys-devices-virtual-net unit is only created for virtual
network devices. Use the sys-subsystem-net-devices unit instead as that is
created for any type of net device.

Fixes #153.

Signed-off-by: Toke Høiland-Jørgensen <[email protected]>
  • Loading branch information
tohojo committed Oct 20, 2022
1 parent 7ce734e commit d22bfa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/linux/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ ExecStop=/usr/lib/sqm/stop-sqm
RemainAfterExit=1

[Install]
WantedBy=sys-devices-virtual-net-%i.device
WantedBy=sys-subsystem-net-devices-%i.device

0 comments on commit d22bfa8

Please sign in to comment.