add config validator subcommand (#80)

* add config validator subcommand

* add --exit-code flag

* docs & faq update
This commit is contained in:
arcanis authored and GitHub committed 2023-01-09 18:22:29 +03:00
1 parent 1f07a89316
commit d942a70272
36 files changed
+1393 -47

No files matched your search

+3
View File
@@ -47,6 +47,9 @@ if [ -n "$AHRIMAN_UNIX_SOCKET" ]; then
fi
ahriman "${AHRIMAN_DEFAULT_ARGS[@]}" repo-setup "${AHRIMAN_SETUP_ARGS[@]}"
# validate configuration if set
[ -n "$AHRIMAN_VALIDATE_CONFIGURATION" ] && ahriman "${AHRIMAN_DEFAULT_ARGS[@]}" repo-config-validate --exit-code
# create machine-id which is required by build tools
systemd-machine-id-setup &> /dev/null