Lines 42-47
start_precmd=${name}_precmd
Link Here
|
42 |
|
42 |
|
43 |
chown -R ${%%PORTNAME%%_user}:${%%PORTNAME%%_group} ${%%PORTNAME%%_exec_dir} |
43 |
chown -R ${%%PORTNAME%%_user}:${%%PORTNAME%%_group} ${%%PORTNAME%%_exec_dir} |
44 |
|
44 |
|
|
|
45 |
# .NET 6+ use dual mode sockets to avoid the separate AF handling. |
46 |
# disable .NET use of V6 if no ipv6 is configured. |
47 |
# See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259194#c17 |
48 |
ifconfig | grep -q inet6 |
49 |
if [ $? == 1 ]; then |
50 |
export DOTNET_SYSTEM_NET_DISABLEIPV6=1 |
51 |
fi |
52 |
|
45 |
rc_flags="-r -f -p ${pidfile_child} -P ${pidfile} ${%%PORTNAME%%_exec_dir}/Radarr --data=${%%PORTNAME%%_data_dir} --nobrowser >> /dev/null 2>&1 ${rc_flags}" |
53 |
rc_flags="-r -f -p ${pidfile_child} -P ${pidfile} ${%%PORTNAME%%_exec_dir}/Radarr --data=${%%PORTNAME%%_data_dir} --nobrowser >> /dev/null 2>&1 ${rc_flags}" |
46 |
} |
54 |
} |
47 |
|
55 |
|
48 |
- |
|
|