Lines 34-39
Link Here
|
34 |
|
34 |
|
35 |
command="%%PREFIX%%/sbin/${name}" |
35 |
command="%%PREFIX%%/sbin/${name}" |
36 |
start_precmd="start_precmd" |
36 |
start_precmd="start_precmd" |
|
|
37 |
start_cmd="start_cmd" |
37 |
stop_postcmd="stop_postcmd" |
38 |
stop_postcmd="stop_postcmd" |
38 |
restart_cmd="restart_cmd" |
39 |
restart_cmd="restart_cmd" |
39 |
extra_commands="reload" |
40 |
extra_commands="reload" |
Lines 43-48
Link Here
|
43 |
/usr/bin/install -o root -g wheel -m 0755 -d ${base_dir} |
44 |
/usr/bin/install -o root -g wheel -m 0755 -d ${base_dir} |
44 |
} |
45 |
} |
45 |
|
46 |
|
|
|
47 |
start_cmd() |
48 |
{ |
49 |
/usr/sbin/daemon -f ${command} -F ${command_args} |
50 |
} |
51 |
|
46 |
stop_postcmd() |
52 |
stop_postcmd() |
47 |
{ # Cleanup runtime directory. The dovecot.conf link has to stay. |
53 |
{ # Cleanup runtime directory. The dovecot.conf link has to stay. |
48 |
/usr/bin/find ${base_dir} ! -type l -delete |
54 |
/usr/bin/find ${base_dir} ! -type l -delete |