Bug 197387

Summary: [MAINTAINER] games/minecraft-server: Add support for running as a service
Product: Ports & Packages Reporter: Jonathan Price <freebsd>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Only Me CC: marino
Priority: Normal Keywords: patch, patch-ready
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
output from SVN patch
none
Output from portlint -AC
none
Output from poudriere testport
none
Output from SVN patch freebsd: maintainer-approval+

Description Jonathan Price 2015-02-07 13:37:12 UTC
Created attachment 152663 [details]
output from SVN patch

Due to popular demand, I have added a new build option, "DAEMON". This adds an entry to rc.d to allow running minecraft_server as a service.

I have made this option disabled by default, as it adds a dependency on tmux.

It has the following options:
start
stop
restart
console (displays the interactive server console)
status

I have attached an output of portlint -AC and a poudriere testport build log.

I have had no issues so far with upgrading from the current version or installing from scratch.
Comment 1 Jonathan Price 2015-02-07 13:37:36 UTC
Created attachment 152664 [details]
Output from portlint -AC
Comment 2 Jonathan Price 2015-02-07 13:37:59 UTC
Created attachment 152665 [details]
Output from poudriere testport
Comment 3 Jonathan Price 2015-02-07 14:35:31 UTC
Created attachment 152668 [details]
Output from SVN patch

Bumped PORTREVISION.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2015-02-16 05:41:17 UTC
Great issue report Jonathan!
Comment 5 commit-hook freebsd_committer freebsd_triage 2015-03-01 22:21:53 UTC
A commit references this bug:

Author: marino
Date: Sun Mar  1 22:21:10 UTC 2015
New revision: 380231
URL: https://svnweb.freebsd.org/changeset/ports/380231

Log:
  games/minecraft-server: Add support for running as a service

  PR:		197387
  Submitted by:	maintainer (Jonathan Price)

Changes:
  head/games/minecraft-server/Makefile
  head/games/minecraft-server/files/minecraft.in
  head/games/minecraft-server/files/pkg-message.in
Comment 6 John Marino freebsd_committer freebsd_triage 2015-03-01 22:23:59 UTC
Thanks!