Skip to content
Snippets Groups Projects

Add separate udev rules for systemd installs, rework service

Open Arnaud Ferraris requested to merge a-wai/bootmac:master into master

On systemd-based systemd, running bootmac directly from the udev rules doesn't work very well. As previously noted, using a systemd service instead fixes those problems, although it requires finding an appropriate "reverse dependency" (such as e.g. bluetooth.target).

Using unit activation from udev makes it easier, at it will be triggered once the interface exists. Moreover, in order to avoid creating multiple service files, we can make it a template and use the instance parameter as bootmac's main command-line argument.

Merge request reports

Merge request pipeline #215694 passed

Merge request pipeline passed for 6c6d8451

Ready to merge by members who can write to the target branch.
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading