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

(-)/usr/local/etc/rc.d/redis.orig 2013-08-10 10:32:38.000000000 +0200 (-3 / +4 lines)
Lines 21-34 Link Here
21
extra_commands="reload"
21
extra_commands="reload"
22
command="/usr/local/bin/redis-server"
22
command="/usr/local/bin/redis-server"
23
config_file="/usr/local/etc/203configs/redis/$name.conf"
24
command_args="${config_file}"
25
pidfile="/var/run/redis/$name.pid"
23
pidfile="/var/run/redis/$name.pid"
26
required_files="${config_file}"
27
# read configuration and set defaults
24
# read configuration and set defaults
28
load_rc_config "$name"
25
load_rc_config "$name"
29
: ${redis_enable="NO"}
26
: ${redis_enable="NO"}
30
: ${redis_user="redis"}
27
: ${redis_user="redis"}
28
: ${redis_config="/usr/local/etc/$name.conf"}
29
30
required_files="${redis_config}"
31
command_args="${redis_config}"
31
run_rc_command "$1"
32
run_rc_command "$1"

Return to bug 181201