Hello Team,
I have issue to start gitea since multiple weeks (months). Here is the issue : I am unable to start gitea via the rc script (using freebsd 13.4 & freebsd 13.5 via jail from TrueNas).
When using the following command :
I have a slight delay then the prompt appears, once I try to check the service status with :
The following message appears :
After digging into the rc.d script (located in /usr/local/etc/rc.d/gitea), the daemon command uses the -p pidfile :
I also tried to rebuild the given command to be more user friendly to debug :
Nothing appears, only the blinking prompt :/
Regards,
Nikos
I have issue to start gitea since multiple weeks (months). Here is the issue : I am unable to start gitea via the rc script (using freebsd 13.4 & freebsd 13.5 via jail from TrueNas).
When using the following command :
sh:
service gitea start
I have a slight delay then the prompt appears, once I try to check the service status with :
sh:
service gitea status
The following message appears :
sh:
gitea is not running.
After digging into the rc.d script (located in /usr/local/etc/rc.d/gitea), the daemon command uses the -p pidfile :
sh:
gitea_start() {
for d in /var/db/gitea /var/log/gitea; do
if [ ! -e "$d" ]; then
mkdir "$d"
chown ${gitea_user} "$d"
fi
done
/usr/sbin/daemon -S -l ${gitea_facility} -s ${gitea_priority} -T ${name} \
-u ${gitea_user} -p ${pidfile} \
-l daemon -s warning \
/usr/bin/env -i \
"GITEA_WORK_DIR=${gitea_shared}" \
"GITEA_CUSTOM=${gitea_custom}" \
"HOME=${githome}" \
}
I also tried to rebuild the given command to be more user friendly to debug :
sh:
/usr/sbin/daemon -S -l daemon -s info -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
Nothing appears, only the blinking prompt :/
Regards,
Nikos