Skip to content

Commit

Permalink
fixes to updats
Browse files Browse the repository at this point in the history
  • Loading branch information
CamDavidsonPilon committed Sep 19, 2024
1 parent e4e22cf commit 8aae9b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions update_scripts/upcoming/services/create_diskcache.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ After=network.target firstboot.service
Before=lighttpd.service huey.service

[Service]
User=pioreactor
ExecStart=/bin/bash /usr/local/bin/create_diskcache.sh
ExecStartPost=pio log -m "%n successful" -n systemd --local-only
Type=oneshot
Expand Down
8 changes: 4 additions & 4 deletions update_scripts/upcoming/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

UI_FOLDER=/var/www/pioreactorui
SYSTEMD_DIR=/etc/systemd/system/
UI_TAG="24.9.17" # TODO
UI_TAG="24.9.19" # TODO
PIO_DIR="/home/pioreactor/.pioreactor"

HOSTNAME=$(hostname)
Expand Down Expand Up @@ -79,15 +79,15 @@ if [ "$HOSTNAME" != "$LEADER_HOSTNAME" ]; then

# we need to restart the monitor jobs on the worker so that the new table (pio_job_metadata) and db exist first
systemctl restart [email protected]
sleep 5
sleep 1

systemctl enable create_diskcache.service
systemctl enable lighttpd.service
systemctl enable huey.service
systemctl enable lighttpd.service

systemctl start create_diskcache.service
systemctl start lighttpd.service
systemctl start huey.service
systemctl start lighttpd.service

sleep 2

Expand Down

0 comments on commit 8aae9b2

Please sign in to comment.