Bug 237998

Summary: www/miniflux: Fix rc.d startscript
Product: Ports & Packages Reporter: Bernhard Froehlich <decke>
Component: Individual Port(s)Assignee: Kirill Ponomarev <krion>
Status: Closed FIXED    
Severity: Affects Some People Flags: bugzilla: maintainer-feedback? (krion)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
miniflux.in none

Description Bernhard Froehlich freebsd_committer freebsd_triage 2019-05-20 12:09:56 UTC
Created attachment 204481 [details]
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.
Comment 1 commit-hook freebsd_committer freebsd_triage 2019-05-20 14:31:37 UTC
A commit references this bug:

Author: krion
Date: Mon May 20 14:31:22 UTC 2019
New revision: 502118
URL: https://svnweb.freebsd.org/changeset/ports/502118

Log:
  Fix stop exec of the miniflux rc script and enable syslog logging.

  PR:		237998
  Submitted by:	decke

Changes:
  head/www/miniflux/files/miniflux.in
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-05-23 04:53:56 UTC
A commit references this bug:

Author: tobik
Date: Thu May 23 04:53:15 UTC 2019
New revision: 502307
URL: https://svnweb.freebsd.org/changeset/ports/502307

Log:
  www/miniflux: Bump revision for rc script change in r502118

  - Also fix PREFIX/LOCALBASE mixup

  PR:		237998
  Pointy hat:	krion

Changes:
  head/www/miniflux/Makefile
  head/www/miniflux/files/miniflux.in