View | Details | Raw Unified | Return to bug 158985
Collapse All | Expand All

(-)databases/memcached/files/memcached.in (-4 / +3 lines)
Lines 4-9 Link Here
4
#
4
#
5
# PROVIDE: memcached
5
# PROVIDE: memcached
6
# REQUIRE: DAEMON
6
# REQUIRE: DAEMON
7
# KEYWORD: shutdown
7
#
8
#
8
# Add the following lines to /etc/rc.conf to run memcached:
9
# Add the following lines to /etc/rc.conf to run memcached:
9
#
10
#
Lines 41-50 Link Here
41
		for profile in ${memcached_profiles}; do
42
		for profile in ${memcached_profiles}; do
42
			eval _enable="\${memcached_${profile}_enable}"
43
			eval _enable="\${memcached_${profile}_enable}"
43
			case "x${_enable:-${memcached_enable}}" in
44
			case "x${_enable:-${memcached_enable}}" in
44
			x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee])
45
			x[Nn][Oo]|x[Ff][Aa][Ll][Ss][Ee]|x[Oo][Ff][Ff]|x0)
45
				continue
46
				continue
46
				;;
47
				;;
47
			x[Yy][Ee][Ss])
48
			x[Yy][Ee][Ss]|x[Tt][Rr][Uu][Ee]|x[Oo][Nn]|x1)
48
				;;
49
				;;
49
			*)
50
			*)
50
				if test -z "$_enable"; then
51
				if test -z "$_enable"; then
Lines 78-83 Link Here
78
command=%%PREFIX%%/bin/memcached
79
command=%%PREFIX%%/bin/memcached
79
command_args="-d -u ${memcached_user} -P ${pidfile} "
80
command_args="-d -u ${memcached_user} -P ${pidfile} "
80
81
81
unset memcached_user
82
83
run_rc_command "$1"
82
run_rc_command "$1"

Return to bug 158985