Date: Mon, 19 Feb 2024 10:16:55 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 9cc6e7bfdd1f - main - databases/greptimedb: Formatting and cosmetic changes Message-ID: <202402191016.41JAGt1K035240@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=9cc6e7bfdd1f5c0c5abf93b420f78376a29c85fd commit 9cc6e7bfdd1f5c0c5abf93b420f78376a29c85fd Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-02-19 10:16:22 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-02-19 10:16:22 +0000 databases/greptimedb: Formatting and cosmetic changes --- databases/greptimedb/files/greptimedb.in | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/databases/greptimedb/files/greptimedb.in b/databases/greptimedb/files/greptimedb.in index 5fe613368e2d..9d7615ccba0b 100644 --- a/databases/greptimedb/files/greptimedb.in +++ b/databases/greptimedb/files/greptimedb.in @@ -15,9 +15,9 @@ # standalone start -c %%ETCDIR%%/standalone.toml" # for the 'standalone' mode. # greptimedb(_profile)?_user (user): Set user to run greptimedb. -# Default is "nobody". +# Default is "%%USER%%". # greptimedb(_profile)?_group (group): Set group to run greptimedb. -# Default is "nobody". +# Default is "%%GROUP%%". # greptimedb(_profile)?_post_start (str): Set extra commands that should be executed after greptimedb was successfully # started here. # Default is empty "". @@ -42,8 +42,8 @@ if [ -n "$2" ]; then # profile is provided if [ -n "${greptimedb_profiles}" ]; then pidfile="${_piddir}/greptimedb.${profile}.pid" eval greptimedb_enable="\${greptimedb_${profile}_enable:-${greptimedb_enable}}" - eval greptimedb_user="\${greptimedb_${profile}_user:-${greptimedb_user}}" - eval greptimedb_group="\${greptimedb_${profile}_group:-${greptimedb_group}}" + eval greptimedb_user="\${greptimedb_${profile}_user:-${greptimedb_user}}" + eval greptimedb_group="\${greptimedb_${profile}_group:-${greptimedb_group}}" eval greptimedb_args="\${greptimedb_${profile}_args:-${greptimedb_args}}" eval greptimedb_post_start="\${greptimedb_${profile}_post_start:-${greptimedb_post_start}}" else @@ -65,10 +65,11 @@ else # profile is not provided else _var=greptimedb_"${profile}"_enable fi - warn "Bad value" \ - "'${_enable:-${greptimedb_enable}}'" \ - "for ${_var}. " \ - "Profile ${profile} skipped." + warn \ + "Bad value" \ + "'${_enable:-${greptimedb_enable}}'" \ + "for ${_var}. " \ + "Profile ${profile} skipped." continue ;; esac @@ -85,9 +86,9 @@ fi greptimedb_poststart() { - if [ -n "$greptimedb_post_start" ]; then - eval $greptimedb_post_start - fi + if [ -n "$greptimedb_post_start" ]; then + eval $greptimedb_post_start + fi } greptimedb_poststop()
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402191016.41JAGt1K035240>