Bug 251012 - net-mgmt/librenms: add mysql to requires for service script
Summary: net-mgmt/librenms: add mysql to requires for service script
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-10 11:52 UTC by Dries Michiels
Modified: 2020-11-16 16:34 UTC (History)
0 users

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


Attachments
librenms.diff (751 bytes, patch)
2020-11-10 11:52 UTC, Dries Michiels
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dries Michiels 2020-11-10 11:52:50 UTC
Created attachment 219518 [details]
librenms.diff

Hi!

When I'm trying to start a librenms jail, the librenms service will fail to start because mysql-server has not started yet. This fixes the rcorder, for mysql to be started before the librenms service.

Regards,
Dries
Comment 1 Dan Langille freebsd_committer 2020-11-16 16:34:08 UTC
Thank you for this.  I never encountered it myself because I run a general purpose MySQL instance in another jail.
Comment 2 commit-hook freebsd_committer 2020-11-16 16:34:28 UTC
A commit references this bug:

Author: dvl
Date: Mon Nov 16 16:34:23 UTC 2020
New revision: 555496
URL: https://svnweb.freebsd.org/changeset/ports/555496

Log:
  add mysql to requires for rc.d script

  PR:		251012
  Submitted by:	Dries Michiels <driesm.michiels@gmail.com>

Changes:
  head/net-mgmt/librenms/Makefile
  head/net-mgmt/librenms/files/librenms.in