]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/ukify/ukify.py
ukify/man: Look for a config file in systemd folders if not specified
authorAlvin Alvarado <alvin@striczkof.io>
Fri, 8 Sep 2023 04:02:52 +0000 (14:02 +1000)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 8 Sep 2023 14:21:28 +0000 (16:21 +0200)
commita05fa30f88e522101c8412deecd7f598e2254b20
treeff71df3a798a7992e392e03cffc9ede63629b8e0
parentb8f18c3089319796d5bc3d33fb0779b0de5aba7b
ukify/man: Look for a config file in systemd folders if not specified

If the user does not specify a config file to use, ukify will try looking for one at {/run,/etc,/usr/local/lib,/usr/lib}/systemd/ukify.conf in order and then use the first one found. Also made sure the --config input is a pathlib.Path by specifying its type in its CONFIG_ITEMS entry.
Big cheers to Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> for helping!
man/ukify.xml
src/ukify/ukify.py