[Bug 225453] [UPDATE] games/chocolate-doom to 3.0.0
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jun 4 13:38:08 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225453
--- Comment #16 from Shirkdog <mshirk at daemon-security.com> ---
(In reply to Shirkdog from comment #15)
Forgot to add -f to daemon. The commandline can be blank, but I normally set
the servername. So the following should be good for an rc script.
#!/bin/sh
#
# PROVIDE: chocolate_server
# REQUIRE: LOGIN
# KEYWORD: shutdown
. /etc/rc.subr
name="chocolate_server"
rcvar=`set_rcvar`
load_rc_config $name
start_cmd="chocolate_server_start"
: ${chocolate_server_program:=/usr/local/bin/chocolate-server}
: ${chocolate_server_commandline:=""}
chocolate_server_enable=${chocolate_server_enable="NO"}
chocolate_server_start() {
daemon -f -u nobody $chocolate_server_program $chocolate_server_commandline
}
run_rc_command "$1"
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list