[Bug 223164] www/gitea 1.2.1 fail to start after upgrade from 1.1.4

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Oct 28 10:09:58 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223164

--- Comment #7 from Rami <freebsd at posteo.co> ---
Well I figured out what was happening... 
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=${gitea_shared}" \
               "GITEA_CUSTOM=/usr/local/etc/${name}" \
               "HOME=${githome}" \
               "PATH=/usr/local/bin:${PATH}" \
               "USER=git" \
               $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=${gitea_shared}" \
                "GITEA_CUSTOM=/usr/local/etc/${name}" \
                "HOME=${githome}" \
                "PATH=/usr/local/bin:${PATH}" \
                "USER=git" \
                $command
}

I guess this might be a bug

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


More information about the freebsd-ports-bugs mailing list