Lines 11-17
Link Here
|
11 |
# |
11 |
# |
12 |
# nncp_daemon_enable (bool): Set to NO by default. |
12 |
# nncp_daemon_enable (bool): Set to NO by default. |
13 |
# Set it to YES to enable nncp-daemon. |
13 |
# Set it to YES to enable nncp-daemon. |
14 |
# nncp_daemon_config (path): Set to %%PREFIX%%/etc/nncp.yaml by default. |
14 |
# nncp_daemon_config (path): Set to %%PREFIX%%/etc/nncp.hjson by default. |
15 |
# nncp_daemon_bind (string): Address:port to bind to |
15 |
# nncp_daemon_bind (string): Address:port to bind to |
16 |
# Default is "[::]:5400". |
16 |
# Default is "[::]:5400". |
17 |
|
17 |
|
Lines 23-29
Link Here
|
23 |
load_rc_config $name |
23 |
load_rc_config $name |
24 |
|
24 |
|
25 |
: ${nncp_daemon_enable:="NO"} |
25 |
: ${nncp_daemon_enable:="NO"} |
26 |
: ${nncp_daemon_config="%%PREFIX%%/etc/nncp.yaml"} |
26 |
: ${nncp_daemon_config="%%PREFIX%%/etc/nncp.hjson"} |
27 |
: ${nncp_daemon_bind="[::]:5400"} |
27 |
: ${nncp_daemon_bind="[::]:5400"} |
28 |
|
28 |
|
29 |
command=%%PREFIX%%/bin/nncp-daemon |
29 |
command=%%PREFIX%%/bin/nncp-daemon |