Browse Source

updating netclient bin directory

afeiszli 3 years ago
parent
commit
0c502baa14

+ 1 - 1
compose/docker-compose.contained.yml

@@ -36,7 +36,7 @@ services:
       MQ_HOST: "mq"
       HOST_NETWORK: "off"
       MANAGE_IPTABLES: "on"
-      PORT_FORWARD_SERVICES: "dns"
+      PORT_FORWARD_SERVICES: "mq,dns,ssh"
       VERBOSITY: "1"
     ports:
       - "51821-51830:51821-51830/udp"

+ 1 - 1
scripts/netclient-install.sh

@@ -224,7 +224,7 @@ if [ "${OS}" = "FreeBSD" ]; then
 name="netclient"
 rcvar=netclient_enable
 pidfile="/var/run/${name}.pid"
-command="/usr/sbin/daemon"
+command="/sbin/daemon"
 command_args="-c -f -P ${pidfile} -R 10 -t "Netclient" -u root -o /etc/netclient/netclient.log /etc/netclient/netclient checkin -n all"
 
 load_rc_config $name

+ 1 - 1
scripts/netclient-rc-freebsd

@@ -10,7 +10,7 @@
 name="netclient"
 rcvar=netclient_enable
 pidfile="/var/run/${name}.pid"
-command="/usr/sbin/daemon"
+command="/sbin/daemon"
 command_args="-c -f -P ${pidfile} -R 10 -t "Netclient" -u root -o /etc/netclient/netclient.log /etc/netclient/netclient checkin -n all"
 
 load_rc_config $name