Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Oct 2017 10:09:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 223164] www/gitea 1.2.1 fail to start after upgrade from 1.1.4
Message-ID:  <bug-223164-13-fJxNuGXnzM@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223164-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223164-13@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #7 from Rami <freebsd@posteo.co> ---
Well I figured out what was happening...=20
well the port has been updated to 1.2.2 and once you fix the configuration =
file
and you start it as service it complains about parameter -l for the daemon.
I changed the /usr/local/etc/rc.d/gitea section below

gitea_start() {
       /usr/sbin/daemon -l  ${gitea_facility} -s ${gitea_priority} \
               -u ${gitea_user} -p ${pidfile} -t "${command}" \
               /usr/bin/env -i \
               "GITEA_WORK_DIR=3D${gitea_shared}" \
               "GITEA_CUSTOM=3D/usr/local/etc/${name}" \
               "HOME=3D${githome}" \
               "PATH=3D/usr/local/bin:${PATH}" \
               "USER=3Dgit" \
               $command
}

with the section from the old versions and it worked ....

gitea_start() {
        /usr/sbin/daemon -f -u ${gitea_user} -p ${pidfile} /usr/bin/env -i \
                "GITEA_WORK_DIR=3D${gitea_shared}" \
                "GITEA_CUSTOM=3D/usr/local/etc/${name}" \
                "HOME=3D${githome}" \
                "PATH=3D/usr/local/bin:${PATH}" \
                "USER=3Dgit" \
                $command
}

I guess this might be a bug

--=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-223164-13-fJxNuGXnzM>