Skip to content

Commit

Permalink
some permis
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Jan 21, 2025
1 parent 31d4f8c commit c2cb13c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions workspace/scripts/06-install-pioreactor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PIO_DIR=/home/$USERNAME/.pioreactor

sudo -u $USERNAME mkdir -p $PIO_DIR
sudo -u $USERNAME mkdir -p $PIO_DIR/storage
sudo -u $USERNAME mkdir -p $PIO_DIR/storage/calibrations
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins/ui/contrib/jobs
sudo -u $USERNAME mkdir -p $PIO_DIR/plugins/ui/contrib/automations/{dosing,led,temperature}
Expand Down Expand Up @@ -59,7 +60,7 @@ common:
- type: stop
hours_elapsed: 0.02
EOT
sudo chown pioreactor:pioreactor $PIO_DIR/experiment_profiles/demo_logging_example.yaml
sudo chown pioreactor:www-data $PIO_DIR/experiment_profiles/demo_logging_example.yaml


cat <<EOT >> $PIO_DIR/experiment_profiles/demo_stirring_example.yaml
Expand All @@ -84,7 +85,7 @@ common:
- type: stop
hours_elapsed: 0.05
EOT
sudo chown pioreactor:pioreactor $PIO_DIR/experiment_profiles/demo_stirring_example.yaml
sudo chown pioreactor:www-data $PIO_DIR/experiment_profiles/demo_stirring_example.yaml

sudo -u $USERNAME touch $PIO_DIR/unit_config.ini

Expand Down

0 comments on commit c2cb13c

Please sign in to comment.