Skip to content

Commit

Permalink
Fix ownership to www-data in /var/opt/prestashop (#132)
Browse files Browse the repository at this point in the history
  • Loading branch information
jokesterfr authored Aug 29, 2024
1 parent f8a8e73 commit 7420b24
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/alpine-base-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ rm -rf /var/log/php* /etc/php*/php-fpm.conf /etc/php*/php-fpm.d
mkdir -p /var/log/php /var/run/php /var/run/nginx /var/log/nginx /var/tmp/nginx
touch /var/log/nginx/access.log /var/log/nginx/error.log
chown -R www-data:www-data /var/log/php /var/run/php "$PHP_INI_DIR" \
/var/run/nginx /var/log/nginx /var/lib/nginx /var/tmp/nginx
/var/run/nginx /var/log/nginx /var/lib/nginx /var/tmp/nginx /var/opt/prestashop
setcap cap_net_bind_service=+ep /usr/sbin/nginx

# Compute the short version (8.1.27 becomes 8.1)
Expand Down
2 changes: 1 addition & 1 deletion assets/debian-base-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ rm -rf /var/log/php* /etc/php*/php-fpm.conf /etc/php*/php-fpm.d
mkdir -p /var/log/php /var/run/php /var/run/nginx /var/log/nginx /var/tmp/nginx
touch /var/log/nginx/access.log /var/log/nginx/error.log
chown -R www-data:www-data /var/log/php /var/run/php "$PHP_INI_DIR" \
/var/run/nginx /var/log/nginx /var/lib/nginx /var/tmp/nginx
/var/run/nginx /var/log/nginx /var/lib/nginx /var/tmp/nginx /var/opt/prestashop
setcap cap_net_bind_service=+ep /usr/sbin/nginx

# Compute the short version (8.1.27 becomes 8.1)
Expand Down
1 change: 1 addition & 0 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ EOF
}

publish() {
echo "Publishing" "$@"
gh workflow run docker-publish.yml \
--repo prestashop/prestashop-flashlight \
--field target_platforms=linux/amd64,linux/arm64 "$@"
Expand Down

0 comments on commit 7420b24

Please sign in to comment.