Bug 204025 - databases/redis: Add redis-sentinel rc.d script
Summary: databases/redis: Add redis-sentinel rc.d script
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: Sergey A. Osokin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-26 09:09 UTC by Emmanuel Vadot
Modified: 2015-10-29 01:35 UTC (History)
0 users

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


Attachments
redis_sentinel.diff (1.59 KB, patch)
2015-10-26 09:09 UTC, Emmanuel Vadot
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emmanuel Vadot 2015-10-26 09:09:44 UTC
Created attachment 162457 [details]
redis_sentinel.diff

This patch adds an rc script for redis-sentinel.
It uses by default the 'redis' user.
As sentinel rewrite it's config and runs as the 'redis' user the rc script verify the permission before start and warn the user if they're not correct.
Comment 1 Sergey A. Osokin freebsd_committer freebsd_triage 2015-10-29 01:35:37 UTC
Committed with some modifications, thanks for report!
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-10-29 01:35:42 UTC
A commit references this bug:

Author: osa
Date: Thu Oct 29 01:34:54 UTC 2015
New revision: 400428
URL: https://svnweb.freebsd.org/changeset/ports/400428

Log:
  Add rc script for sentinel.
  Bump PORTREVISION.

  PR:	204025

Changes:
  head/databases/redis/Makefile
  head/databases/redis/files/sentinel.in
  head/databases/redis/pkg-plist
  head/databases/redis-devel/Makefile
  head/databases/redis-devel/files/sentinel.in
  head/databases/redis-devel/pkg-plist