Skip to content

Commit

Permalink
Scripts: fix moonraker database ownership
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Oct 15, 2022
1 parent fe17d7e commit a7dbc47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/config
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Shebang for better detection of file type

export DIST_NAME=RatOS
export DIST_VERSION=1.2.3
export DIST_VERSION=1.2.4
export BASE_IMAGE_ENLARGEROOT=6500
export MODULES="base,pkgupgrade(network,piconfig,klipper,node,is_req_preinstall,moonraker,mainsail,mjpgstreamer,serialcomm,ratos,rpi_mcu,klipperscreen,password-for-sudo,disable-services(hotspot))"
export BASE_IMAGE_RESIZEROOT=200
Expand Down
1 change: 1 addition & 0 deletions src/modules/moonraker/start_chroot_script
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ gitclone MOONRAKER_REPO moonraker

# create database dir
mkdir -p /home/${BASE_USER}/.moonraker_database
chown ${BASE_USER}:${BASE_USER} -R /home/${BASE_USER}/.moonraker_database

# use moonrakers Install script
echo_green "Launch moonraker Install script (scripts/install-moonraker.sh)"
Expand Down

0 comments on commit a7dbc47

Please sign in to comment.