[Bug 263077] net-im/dendrite: rc script not starting dendrite

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 06 Apr 2022 06:00:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263077

            Bug ID: 263077
           Summary: net-im/dendrite: rc script not starting dendrite
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ashish@FreeBSD.org
          Reporter: hello@sven.engineer
             Flags: maintainer-feedback?(ashish@FreeBSD.org)
          Assignee: ashish@FreeBSD.org

the provided rc script for net-im/dendrite is not working. After installation
and configuration, a service dendrite start does not show any output/error
message. however, dendrite does not start. 
A manual start from terminal using the command string from the rc script is
working. 

With rc_debug="YES" the following output is generated:
root@host:# service dendrite start
/usr/local/etc/rc.d/dendrite: DEBUG: pid file (/var/run/dendrite.pid): not
readable.
/usr/local/etc/rc.d/dendrite: DEBUG: checkyesno: dendrite_enable is set to YES.
Starting dendrite.
/usr/local/etc/rc.d/dendrite: DEBUG: run_rc_command: doit:  limits -C daemon 
/usr/sbin/daemon  -p /var/run/dendrite.pid -u dendrite -f
/usr/local/dendrite/bin/dendrite-monolith-server -config
/usr/local/etc/dendrite/dendrite.yaml
root@host: # service dendrite status
/usr/local/etc/rc.d/dendrite: DEBUG: pid file (/var/run/dendrite.pid): not
readable.
/usr/local/etc/rc.d/dendrite: DEBUG: checkyesno: dendrite_enable is set to YES.
dendrite is not running.

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