Lines 12-18
Link Here
|
12 |
# postgrey_enable (bool) Set to 'YES' to enable |
12 |
# postgrey_enable (bool) Set to 'YES' to enable |
13 |
# Default: NO |
13 |
# Default: NO |
14 |
# postgrey_dbdir (path) Location of postgrey database files. |
14 |
# postgrey_dbdir (path) Location of postgrey database files. |
15 |
# Default: %%PG_DBDIR%% |
15 |
# Default: %%POSTGREY_DBDIR%% |
16 |
# postgrey_flags (extra args) Additional command-line parameters. |
16 |
# postgrey_flags (extra args) Additional command-line parameters. |
17 |
# Default: --inet=10023 |
17 |
# Default: --inet=10023 |
18 |
# |
18 |
# |
Lines 30-42
Link Here
|
30 |
load_rc_config $name |
30 |
load_rc_config $name |
31 |
|
31 |
|
32 |
: ${postgrey_enable:=NO} |
32 |
: ${postgrey_enable:=NO} |
33 |
: ${postgrey_dbdir:=%%PG_DBDIR%%} |
33 |
: ${postgrey_dbdir:=%%POSTGREY_DBDIR%%} |
34 |
: ${postgrey_flags:=--inet=10023} |
34 |
: ${postgrey_flags:=--inet=10023} |
35 |
|
35 |
|
36 |
command=%%PREFIX%%/sbin/postgrey |
36 |
command=%%PREFIX%%/sbin/postgrey |
37 |
extra_commands=reload |
37 |
extra_commands=reload |
38 |
pidfile=%%PG_RUNDIR%%/postgrey.pid |
38 |
pidfile=%%POSTGREY_RUNDIR%%/postgrey.pid |
39 |
required_dirs="${postgrey_dbdir} %%PG_RUNDIR%%" |
39 |
required_dirs="${postgrey_dbdir} %%POSTGREY_RUNDIR%%" |
40 |
|
40 |
|
41 |
command_args="-d --pidfile=${pidfile} --dbdir=${postgrey_dbdir}" |
41 |
command_args="-d --pidfile=${pidfile} --dbdir=${postgrey_dbdir}" |
42 |
|
42 |
|