From 7420b2460e678857c00af7cce32d03ca94167565 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20D=C3=A9siles?= <1536672+jokesterfr@users.noreply.github.com> Date: Thu, 29 Aug 2024 14:15:00 +0200 Subject: [PATCH] Fix ownership to www-data in /var/opt/prestashop (#132) --- assets/alpine-base-install.sh | 2 +- assets/debian-base-install.sh | 2 +- release.sh | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/assets/alpine-base-install.sh b/assets/alpine-base-install.sh index bc449c8..bd021ca 100755 --- a/assets/alpine-base-install.sh +++ b/assets/alpine-base-install.sh @@ -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) diff --git a/assets/debian-base-install.sh b/assets/debian-base-install.sh index feea7d4..e39e0f5 100755 --- a/assets/debian-base-install.sh +++ b/assets/debian-base-install.sh @@ -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) diff --git a/release.sh b/release.sh index 070ca5a..aebcac8 100755 --- a/release.sh +++ b/release.sh @@ -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 "$@"