systemdUnitFilePlugin
systemdUnitFilePlugin copied to clipboard
What is that validation in swap.
https://wiki.archlinux.org/index.php/Systemd-networkd#network_files

``` Set codeButNotDoc = new TreeSet(code); Set docButNotCode = new TreeSet(code); codeButNotDoc.removeAll(doc); docButNotCode.removeAll(code); ``` Second line should be (doc) not (code). If you switch it, there are a few errors,...
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Paths > Please note that the paths must be absolute and must not contain a ".." path component.
> Mount units must be named after the mount point directories they control. Example: the mount point /home/lennart must be configured in a unit file home-lennart.mount. For details about the...
Id have to think a bit more about it but if someone has an exec for some command maybe we can autocomplete or recognize arguments somehow. Maybe man pages or...
We can validate a whole bunch of things probably, just got to put the time and effort into it.
It'd be nice if this behaviour could be similar to the native language support behaviour. i.e. you specify a project-level setting for the systemd version you're targeting, and the plugin...