[Bug 238230] www/gitea 1.8.1 missing conf file causes failure in start

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu May 30 03:03:41 UTC 2019


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

jbw at hilltopgroup.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbw at hilltopgroup.com

--- Comment #1 from jbw at hilltopgroup.com ---
I'm having the same issue on FreeBSD 12 and gitea 1.8.1.

The issue seems to be in the daemonization within the rc script.

# /usr/sbin/daemon -S -l daemon -s debug -T gitea -u git -p /var/run/gitea.pid
/usr/bin/env -i 'GITEA_WORK_DIR=/usr/local/share/gitea'
'GITEA_CUSTOM=/usr/local/etc/gitea' 'HOME=/usr/local/git'
'PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' 'USER=git'
/usr/local/sbin/gitea web 

exits with no error or output, and nothing in the log.

However, when I run:
# su git
$ /usr/bin/env -i 'GITEA_WORK_DIR=/usr/local/share/gitea'
'GITEA_CUSTOM=/usr/local/etc/gitea' 'HOME=/usr/local/git'
'PATH=/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin' 'USER=git'
/usr/local/sbin/gitea web

It works just fine.

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


More information about the freebsd-ports-bugs mailing list