~evilham/cdist-evilham

ff708c10dccf783c6ccd22cbabd45c349fc343d0 — Evilham 3 months ago 001cb65
forgejo: enable email notifications by default + custom path

We were not passing the custom-path flag, which is problematic when we
want to override / customise certain assets.
2 files changed, 2 insertions(+), 2 deletions(-)

M type/__evilham_forgejo/files/forgejo.conf.sh
M type/__evilham_forgejo/manifest
M type/__evilham_forgejo/files/forgejo.conf.sh => type/__evilham_forgejo/files/forgejo.conf.sh +1 -1
@@ 784,7 784,7 @@ DISABLE_REGISTRATION = ${DISABLE_REGISTRATION:-true} ; false
REQUIRE_SIGNIN_VIEW = ${FORGEJO_SIGNIN_VIEW:-false} ; false
;;
;; Mail notification
;ENABLE_NOTIFY_MAIL = false
ENABLE_NOTIFY_MAIL = true
;;
;; This setting enables gitea to be signed in with HTTP BASIC Authentication using the user's password
;; If you set this to false you will not be able to access the tokens endpoints on the API with your password

M type/__evilham_forgejo/manifest => type/__evilham_forgejo/manifest +1 -1
@@ 102,7 102,7 @@ done
. "${__type}/files/forgejo.conf.sh"  # This defines FORGEJO_COFIG
echo "${FORGEJO_CONFIG}" | __single_binary_service forgejo \
	--user "${USER}" \
	--service-args "web --config /etc/forgejo.conf --work-path '${FORGEJO_DIR}'" \
	--service-args "web --config /etc/forgejo.conf --work-path '${FORGEJO_DIR}' --custom-path '${FORGEJO_DIR}/custom'" \
	--version "${FORGEJO_TYPE_VERSION}" \
	--checksum "${FORGEJO_CHECKSUM}" \
	--url "${FORGEJO_DOWNLOAD_URL}" \