Browse Source

platform/linux: Use right unit in WantedBy

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 <toke@toke.dk>
Toke Høiland-Jørgensen 1 year ago
parent
commit
d22bfa87fb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      platform/linux/sqm@.service

+ 1 - 1
platform/linux/sqm@.service

@@ -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