Skip to content

systemd unit: fix option group assignments

systemd defines a couple of groups of options which may appear in multiple sections of a systemd unit configuration file.

The use of these groups in the syntax highlighting definition file was partially incorrect, leading to some valid options not being highlighted and some invalid options being highlighted.

The following changes were made to fix this:

  • Add option groups 'exec' and 'kill' to 'Mount' section.
  • Add option groups 'exec' and 'kill' to 'Socket' section.
  • Remove option group 'resource-control' from section 'Swap'.

Merge request reports