Skip to content

Commit 3b7116b

Browse files
remove local link; new config
1 parent 6f116f9 commit 3b7116b

File tree

8 files changed

+6
-42
lines changed

8 files changed

+6
-42
lines changed

workspace/scripts/04-install-services.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ sudo cp /files/system/systemd/local_access_point.service $SYSTEMD_DIR
2828
cp /files/bash/local_access_point.sh /usr/local/bin/local_access_point.sh
2929
sudo systemctl enable local_access_point.service
3030

31-
# install optional local link service, both workers and leaders can do this.
32-
sudo cp /files/system/systemd/local_link.service $SYSTEMD_DIR
33-
cp /files/bash/local_link.sh /usr/local/bin/local_link.sh
34-
sudo systemctl enable local_link.service
3531

3632
# systemd: needed for setting up dirs in /tmp and sqlite dbs
3733
sudo cp /files/system/systemd/create_diskcache.service $SYSTEMD_DIR

workspace/scripts/06-install-pioreactor.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ sudo apt-get install -y git
1717

1818
sudo -u $USERNAME mkdir -p $PIO_DIR
1919
sudo -u $USERNAME mkdir -p $PIO_DIR/storage
20+
sudo -u $USERNAME mkdir -p $PIO_DIR/models
2021
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins
2122
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins/ui/contrib/jobs
2223
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins/ui/contrib/automations/{dosing,led,temperature}

workspace/scripts/15-install-openocd.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ if [ "$WORKER" == "1" ]; then
2525

2626
# move config
2727
mkdir /usr/local/share/openocd/
28-
cp -r /files/system/openocd/scripts /usr/local/share/openocd/
28+
cp -r /files/system/openocd/scripts /usr/local/share/openocd/
2929

3030
# pull latest .elf image
3131
wget -O /usr/local/bin/main.elf https://github.com/pioreactor/pico-build/releases/latest/download/main.elf

workspace/scripts/files/bash/local_link.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

workspace/scripts/files/pioreactor/config.example.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ duration_between_led_off_and_od_reading=0.125
6363

6464
[bioreactor]
6565
# used in dosing automations
66-
# max_volume_ml is determined by the volume that just touches the outflow tube. I.e. if you
67-
# where to keep running the waste pump, what would the stable volume be.
66+
# max_working_volume_ml is determined by the volume that just touches the outflow tube. I.e. if you
67+
# where to keep running the waste pump, what would the stable volume be. This can be changed in the UI.
6868
# see docs: https://docs.pioreactor.com/user-guide/prepare-vial-for-cultures#extra
6969
max_working_volume_ml=14
7070
initial_volume_ml=14

workspace/scripts/files/system/lighttpd/50-pioreactorui.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ url.rewrite-once = (
33
"^(/static($|/.*))$" => "$1",
44
"^(/api/.*)$" => "/main.fcgi$1",
55
"^(/unit_api/.*)$" => "/main.fcgi$1",
6+
"^(/mcp/.*)$" => "/main.fcgi$1",
67
)
78
alias.url += (
89
"/static/" => "/var/www/pioreactorui/static/"

workspace/scripts/files/system/systemd/avahi_aliases.service

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Unit]
22
Description=Publish an alias for %H.local via mdns
33
Wants=network-online.target
4-
After=network-online.target firstboot.service local_access_point.service local_link.service avahi-daemon.service
4+
After=network-online.target firstboot.service local_access_point.service avahi-daemon.service
55

66
[Service]
77
User=pioreactor

workspace/scripts/files/system/systemd/local_link.service

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)