next set of updates
This commit is contained in:
@ -20,6 +20,7 @@ vfs.read_max=128
|
||||
vfs.timestamp_precision=3
|
||||
net.link.tap.up_on_open=1
|
||||
#net.link.lagg.lacp.default_strict_mode=0
|
||||
net.link.ether.inet.log_arp_movements=0
|
||||
net.inet.ip.fw.verbose_limit=5
|
||||
|
||||
dev.igb.0.fc=0
|
||||
@ -111,3 +112,7 @@ net.inet.tcp.rack.data_after_close=0
|
||||
# Verify RACK
|
||||
# sysctl net.inet.tcp.functions_available
|
||||
# sysctl net.inet.tcp.rack.
|
||||
|
||||
#Cheap Disk Issues
|
||||
kern.cam.ada.default_timeout=60
|
||||
kern.cam.da.default_timeout=90
|
||||
|
38
configs/usr/local/etc/rc.d/cam_tag
Executable file
38
configs/usr/local/etc/rc.d/cam_tag
Executable file
@ -0,0 +1,38 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2018-2020, diyIT.org
|
||||
# All rights reserved.
|
||||
#
|
||||
# BSD 2-Clause License ("Simplified BSD License" or "FreeBSD License")
|
||||
# https://diyit.org/license/
|
||||
#
|
||||
#
|
||||
|
||||
# the two lines below are not just comments but required by rcorder; service -e
|
||||
# PROVIDE: cam_tag
|
||||
# REQUIRE: DAEMON
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
: ${cam_tag_enable="NO"}
|
||||
|
||||
name=cam_tag
|
||||
rcvar=${name}_enable
|
||||
|
||||
COMMAND="/root/FreeBSD/scripts/cam_tag.sh"
|
||||
|
||||
start_cmd="${name}_start"
|
||||
restart_cmd="${name}_restart"
|
||||
|
||||
cam_tag_start()
|
||||
{
|
||||
$COMMAND
|
||||
}
|
||||
|
||||
cam_tag_restart()
|
||||
{
|
||||
$COMMAND
|
||||
}
|
||||
|
||||
load_rc_config ${name}
|
||||
run_rc_command "$1"
|
@ -1,3 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Copyright (c) 2018-2020, diyIT.org
|
||||
# All rights reserved.
|
||||
#
|
||||
@ -6,8 +8,6 @@
|
||||
#
|
||||
#
|
||||
|
||||
#!/bin/sh
|
||||
|
||||
# the two lines below are not just comments but required by rcorder; service -e
|
||||
# PROVIDE: gstat_exporter
|
||||
# REQUIRE: NETWORKING DAEMON
|
||||
@ -19,7 +19,7 @@
|
||||
name=gstat_exporter
|
||||
rcvar=${name}_enable
|
||||
|
||||
GSTATEXPORTER="nohup /usr/local/bin/python3.6 /root/FreeBSD/scripts/gstat_exporter.py"
|
||||
GSTATEXPORTER="nohup /usr/local/bin/python3.7 /root/FreeBSD/scripts/gstat_exporter.py"
|
||||
|
||||
start_cmd="${name}_start"
|
||||
stop_cmd="${name}_stop"
|
||||
|
Reference in New Issue
Block a user