mirror of https://bitbucket.org/ausocean/av.git
treat: replace rv with treatment
This commit is contained in:
parent
45e36a6c09
commit
55e583cdb5
|
@ -78,7 +78,7 @@ hard_copy_files_treat:
|
|||
fi
|
||||
cp -f treatment.service /etc/systemd/system
|
||||
systemctl enable treatment.service
|
||||
chmod +x pi_run.sh
|
||||
chmod +x treatment_run.sh
|
||||
if [ -f /etc/netsender.conf ] ; then \
|
||||
echo "Backed up netsender.conf to /etc/netsender.conf.bak"; \
|
||||
cp /etc/netsender.conf /etc/netsender.conf.bak ; \
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/sh -e
|
||||
# This script launches treatment on a pi, intended to run at boot time.
|
||||
|
||||
TREATPATH=/home/pi/go/src/bitbucket.org/ausocean/av/cmd/rv
|
||||
TREATPATH=/home/pi/go/src/bitbucket.org/ausocean/av/cmd/treatment
|
||||
|
||||
echo Set kernel parameters:
|
||||
# kernel settings to improve performance on Raspberry Pi
|
||||
|
@ -28,7 +28,7 @@ sudo ip addr show | grep inet
|
|||
exec 2> /var/log/netsender/stream.log
|
||||
exec 1>&2
|
||||
|
||||
# set env, working dir and run rv as pi user
|
||||
# set env, working dir and run treatment as pi user
|
||||
HOME=/home/pi
|
||||
GOPATH=$HOME/go
|
||||
TREATPATH=$GOPATH/src/bitbucket.org/ausocean/av/cmd/treatment
|
||||
|
|
Loading…
Reference in New Issue