c6e8abf4ed
- Remove obsoleted pidfile patch - Update rc.d script style - Assume maintainership
24 lines
379 B
Bash
24 lines
379 B
Bash
#!/bin/sh
|
|
#
|
|
# Add the following line to /etc/rc.conf to enable wolfpack:
|
|
#
|
|
# wolfpack_enable="YES"
|
|
#
|
|
|
|
. %%RC_SUBR%%
|
|
|
|
name=wolfpack
|
|
rcvar=`set_rcvar`
|
|
|
|
wolfdir="%%PREFIX%%/wolfpack"
|
|
|
|
command="$wolfdir/bin/emp_server"
|
|
pidfile="$wolfdir/data/server.pid"
|
|
|
|
wolfpack_enable=${wolfpack_enable:-"NO"}
|
|
wolfpack_user=${wolfpack_user:-"wolfpack"}
|
|
|
|
load_rc_config $name
|
|
|
|
run_rc_command "$1"
|
|
|