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: |
|
Created attachment 152664 [details]
Output from portlint -AC
Created attachment 152665 [details]
Output from poudriere testport
Created attachment 152668 [details]
Output from SVN patch
Bumped PORTREVISION.
Great issue report Jonathan! 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 Thanks! |
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.