Systemd programming part 2: activation and language issues
Systemd programming part 2: activation and language issues
Posted Feb 14, 2014 18:45 UTC (Fri) by mathstuf (subscriber, #69389)Parent article: Systemd programming part 2: activation and language issues
I think the root reason is because not all sections are allowed in all unit files. .socket files don't have a [Service] section, so anything that belongs under it doesn't belong because it doesn't make sense.
Also, from systemd.socket(5):
> Socket files must include a [Socket] section, which carries information about the socket or FIFO it supervises. A number of options that may be used in this section are shared with other unit types. These options are documented in systemd.exec(5) and systemd.kill(5). The options specific to the [Socket] section of socket units are the following:
So it does appear that the certain directives are valid in multiple sections.
