netbird icon indicating copy to clipboard operation
netbird copied to clipboard

Typos in systemd services

Open ishanarora opened this issue 1 year ago • 0 comments

The systemd units in release_files/systemd cause the following warnings in systemd journal:

systemd[1]: /usr/lib/systemd/system/[email protected]:16: Unknown key name 'LogDirectory' in section 'Service', ignoring.
systemd[1]: /usr/lib/systemd/system/[email protected]:31: Failed to parse boolean value, ignoring: no  # needed to load wg module for kernel-mode WireGuard

The first error is explained by:

          it's `LogsDirectory` not `LogDirectory`, also currently only `State` and `Runtime` directories are used?

Originally posted by @nazarewk in https://github.com/netbirdio/netbird/issues/1079#issuecomment-1940613247

The second error is explained by:

          Each file is a plain text file divided into sections, with configuration entries in the style key=value. Whitespace immediately before or after the "=" is ignored. Empty lines and lines starting with "#" or ";" are ignored, which may be used for commenting.

Source: https://www.freedesktop.org/software/systemd/man/latest/systemd.syntax.html

ishanarora avatar May 13 '24 05:05 ishanarora