Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 May 2023 17:34:40 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 271177] databases/couchdb3: The service start script has an error in the path
Message-ID:  <bug-271177-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271177

            Bug ID: 271177
           Summary: databases/couchdb3: The service start script has an
                    error in the path
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: dch@freebsd.org
          Reporter: jjachuf@gmail.com
             Flags: maintainer-feedback?(dch@freebsd.org)
          Assignee: dch@freebsd.org

The /usr/local/etc/rc.d/couchdb3 file has an error in the path in the start
section

This

HOME=3D/var/run/couchdb \
ERL_CRASH_DUMP=3D/var/run/couchdb/erl_crash.dump \

must be:

HOME=3D/var/run/couchdb3 \
ERL_CRASH_DUMP=3D/var/run/couchdb3/erl_crash.dump \


The complete start section is:

couchdb3_start()
{
    # chdir manually as overriding _start() blocks rc.subr defaults
    cd "${couchdb3_chdir}"
    /usr/sbin/daemon -p ${pidfile} \
        -P ${daemonpidfile} \
        -t ${name} \
        -u ${couchdb3_user} \
        env ERL_FLAGS=3D"${erl_flags}" \
        HOME=3D/var/run/couchdb3 \
        ERL_CRASH_DUMP=3D/var/run/couchdb3/erl_crash.dump \
        COUCHDB_FAUXTON_DOCROOT=3D/usr/local/www/couchdb3 \
=20=20=20=20=20=20=20
COUCHDB_QUERY_SERVER_JAVASCRIPT=3D"/usr/local/libexec/couchdb3/bin/couchjs
/usr/local/libexec/couchdb3/share/server/main.js" \
=20=20=20=20=20=20=20
COUCHDB_QUERY_SERVER_COFFEESCRIPT=3D"/usr/local/libexec/couchdb3/bin/couchjs
/usr/local/libexec/couchdb3/share/server/main-coffee.js" \
        ${command}
}

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271177-7788>