Bug 237998 - www/miniflux: Fix rc.d startscript
Summary: www/miniflux: Fix rc.d startscript
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Kirill Ponomarev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-20 12:09 UTC by Bernhard Froehlich
Modified: 2019-05-23 04:53 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (krion)


Attachments
miniflux.in (714 bytes, patch)
2019-05-20 12:09 UTC, Bernhard Froehlich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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