[Bug 237998] www/miniflux: Fix rc.d startscript

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon May 20 12:09:59 UTC 2019


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

            Bug ID: 237998
           Summary: www/miniflux: Fix rc.d startscript
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: krion at FreeBSD.org
          Reporter: decke at FreeBSD.org
             Flags: maintainer-feedback?(krion at FreeBSD.org)
          Assignee: krion at FreeBSD.org

Created attachment 204481
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=204481&action=edit
miniflux.in

This fixes some flaws of the miniflux rc script. The main motivation
was that stop does not work (and never worked as it seems) because
daemon is used to start miniflux so rc.subr check_pidfile() expects
that the pid is from a process called daemon which it isn't. So I added
procname to make check_pidfile() happy and thus start/stop/restart are
working fine now.

While here also remove the usage of logger because daemon is able to use
syslog just fine (adding -f -T miniflux).

The other stuff is cosmetics.

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


More information about the freebsd-ports-bugs mailing list